* gnu/packages/rust.scm (rust-encoding-index-tests): New variable. --- gnu/packages/rust.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 0151e7b8d..690680c63 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -927,3 +927,25 @@ whether an expression matches a pattern.") (description "Getopts provides a Rust library for option parsing for CLI utilities.") (license (list license:expat license:asl2.0)))) + +(define-public rust-encoding-index-tests + (package + (name "rust-encoding-index-tests") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_index_tests" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0s85y091gl17ixass49bzaivng7w8p82p6nyvz2r3my9w4mxhim2")))) + (build-system cargo-build-system) + (home-page "https://github.com/lifthrasiir/rust-encoding") + (synopsis "Helper macros used to test index tables for character encodings") + (description + "Encoding-index-tests provides helper macros used to test index +tables for character encodings. This package is part of the crate \"encoding\", +which is providing character encoding support for Rust.") + (license license:cc0))) -- 2.11.0