From ab5a01f5795e332571d1f0fd77fbf4f9ae872c36 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 09:49:08 -0800 Subject: gnu: Add rust-encoding-rs-0.8. * gnu/packages/crates-io.scm (rust-encoding-rs-0.8): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 731953894c..1cc1f53f47 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2320,6 +2320,37 @@ encodings.") "Index tables for traditional Chinese character encodings.") (license license:cc0))) +(define-public rust-encoding-rs-0.8 + (package + (name "rust-encoding-rs") + (version "0.8.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_rs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v902qqnbd37vdq4rjvp6k05wmghrasfdcjy30gp1xpjg5f7hma1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-packed-simd" ,rust-packed-simd-0.3) + ("rust-serde" ,rust-serde-1.0)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1.1) + ("rust-serde-derive" ,rust-serde-derive-1.0) + ("rust-serde-json" ,rust-serde-json-1.0)))) + (home-page "https://docs.rs/encoding_rs/") + (synopsis "Gecko-oriented implementation of the Encoding Standard") + (description + "This package provides a Gecko-oriented implementation of the Encoding +Standard.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-env-logger-0.6 (package (name "rust-env-logger") -- cgit 1.4.1