From 98ad8786d2434b39e2e3c23793637e67fd873573 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 20:13:52 -0800 Subject: gnu: Add rust-digest-0.8. * gnu/packages/crates-io.scm (rust-digest-0.8): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 91d96ca5a1..fc65e8f3eb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1768,6 +1768,31 @@ hexadecimal, base32, and base64.") "This package provides a Rust text diffing and assertion library.") (license license:expat))) +(define-public rust-digest-0.8 + (package + (name "rust-digest") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1madjl27f3kj5ql7kwgvb9c8b7yb7bv7yfgx7rqzj4i3fp4cil7k")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.13)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Traits for cryptographic hash functions") + (description + "Traits for cryptographic hash functions.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dirs-1.0 (package (name "rust-dirs") -- cgit 1.4.1