summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 17:45:51 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:27 +0200
commit502597f9cb6bc68cd9962f9dea28ad2bdfd793af (patch)
tree5389b8ac125303b9dd31db0aa7ae1d680d11614d
parent5ad1c79e205a14193f493146dbe2030f5b79e579 (diff)
gnu: Add rust-base64-0.10.
* gnu/packages/crates-io.scm (rust-base64-0.10): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
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")