diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:25:07 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:59:28 +0300 |
commit | 3bb18715a9925b37d1b2cbcf2369bff406465c9b (patch) | |
tree | bf1aa4e0ec41f347e230916d66562efedc64c772 /gnu | |
parent | 526badd606ffcc1a18cfda4c402568988731c670 (diff) | |
download | guix-patches-3bb18715a9925b37d1b2cbcf2369bff406465c9b.tar guix-patches-3bb18715a9925b37d1b2cbcf2369bff406465c9b.tar.gz |
gnu: Add rust-digest-0.9.
* gnu/packages/crates-io.scm (rust-digest-0.9): New variable.
(rust-digest-0.8): Inherit from rust-digest-0.9.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 153742cff9..cfc87f9523 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5156,8 +5156,33 @@ structs and enums.") #:cargo-development-inputs (("rust-term" ,rust-term-0.2)))))) +(define-public rust-digest-0.9 + (package + (name "rust-digest") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.14)))) + (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-digest-0.8 (package + (inherit rust-digest-0.9) (name "rust-digest") (version "0.8.1") (source @@ -5169,17 +5194,11 @@ structs and enums.") (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)))) + ("rust-generic-array" ,rust-generic-array-0.13)))))) (define-public rust-dirs-2.0 (package |