diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-02 22:33:50 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-03 14:24:32 +0200 |
commit | 558db7b6e5e8467d1cd82f598f1f8dc8ad9227f1 (patch) | |
tree | 65557539add748a29fb933695138bdead4bc31b9 | |
parent | 11d84f4b7f5d59bf2e1dc15b28b116c8385c1a25 (diff) | |
download | guix-558db7b6e5e8467d1cd82f598f1f8dc8ad9227f1.tar.gz |
gnu: Add rust-sha2-asm-0.6.
* gnu/packages/crates-io.scm (rust-sha2-asm-0.6): New variable. (rust-sha2-asm-0.5): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cae8bfc5ea..eecabf4fa0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38444,27 +38444,40 @@ function family including SHA-224, SHA-256, SHA-384, and SHA-512.") ("rust-generic-array" ,rust-generic-array-0.8) ("rust-sha2-asm" ,rust-sha2-asm-0.3)))))) -(define-public rust-sha2-asm-0.5 +(define-public rust-sha2-asm-0.6 (package (name "rust-sha2-asm") - (version "0.5.4") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "sha2-asm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj")))) + (base32 "08rp21zv96n8cnwcix177xkdw43zx8dqgfjfwd0gly9hvrl7lfaw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cc" ,rust-cc-1)))) ;; build dependency + (("rust-cc" ,rust-cc-1)))) ;build dependency (home-page "https://github.com/RustCrypto/asm-hashes") (synopsis "Assembly implementation of SHA-2") (description "This package provides an assembly implementations of hash functions core functionality.") (license license:expat))) +(define-public rust-sha2-asm-0.5 + (package + (inherit rust-sha2-asm-0.6) + (name "rust-sha2-asm") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha2-asm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj")))))) + (define-public rust-sha2-asm-0.3 (package (inherit rust-sha2-asm-0.5) |