From 502597f9cb6bc68cd9962f9dea28ad2bdfd793af Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 17:45:51 -0800 Subject: [PATCH] gnu: Add rust-base64-0.10. * gnu/packages/crates-io.scm (rust-base64-0.10): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6f3427c6a0..407d6b2531 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -279,6 +279,33 @@ support.") (license (list license:asl2.0 license:expat)))) +(define-public rust-base64-0.10 + (package + (name "rust-base64") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "base64" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13k6bvd3n6dm7jqn9x918w65dd9xhx454bqphbnv0bkd6n9dj98b")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.2) + ("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/marshallpierce/rust-base64") + (synopsis "Encodes and decodes base64 as bytes or utf8") + (description + "Encodes and decodes base64 as bytes or utf8.") + (license (list license:expat license:asl2.0)))) + (define-public rust-base-x-0.2 (package (name "rust-base-x")