* gnu/packages/rust.scm (rust-encoding-index-singlebyte): New variable. --- gnu/packages/rust.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 907aac689..a5b779f93 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1021,3 +1021,27 @@ which is providing character encoding support for Rust.") Chinese character encodings. This package is part of the crate \"encoding\", which is providing character encoding support for Rust.") (license license:cc0))) + +(define-public rust-encoding-index-singlebyte + (package + (name "rust-encoding-index-singlebyte") + (version "1.20141219.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding-index-singlebyte" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jp85bz2pprzvg9m95w4q0vibh67b6w3bx35lafay95jzyndal9k")))) + (build-system cargo-build-system) + (inputs + `(("rust-encoding-index-tests" ,rust-encoding-index-tests "src"))) + (home-page "https://github.com/lifthrasiir/rust-encoding") + (synopsis "Index tables for various single-byte character encodings") + (description + "Encoding-index-singlebyte provides index tables for various +single-byte character encodings. This package is part of the crate \"encoding\", +which is providing character encoding support for Rust.") + (license license:cc0))) -- 2.11.0