aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 11:34:09 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:38 +0100
commit35341877dc6397b4bca8c54be62e344d9a3fa3e2 (patch)
tree1ff9f4259e23a6a8d6965bdedd1eab85a245c889
parentea8fdfbad75e1779388ec1746a09df4ec57e15e3 (diff)
downloadguix-35341877dc6397b4bca8c54be62e344d9a3fa3e2.tar.gz
guix-35341877dc6397b4bca8c54be62e344d9a3fa3e2.zip
gnu: Add rust-sha2-0.6.
* gnu/packages/crates-io.scm (rust-sha2-0.6): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7619ba149f..5a355c8777 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33012,6 +33012,29 @@ function family including SHA-224, SHA-256, SHA-384, and SHA-512.")
(("rust-digest" ,rust-digest-0.8)
("rust-hex-literal" ,rust-hex-literal-0.1))))))
+(define-public rust-sha2-0.6
+ (package
+ (inherit rust-sha2-0.9)
+ (name "rust-sha2")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0shircyawzg1q5lyi175l7l446v5bijwrf58grnz4z9nrrw3r5kx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-block-buffer" ,rust-block-buffer-0.2)
+ ("rust-byte-tools" ,rust-byte-tools-0.2)
+ ("rust-digest" ,rust-digest-0.6)
+ ("rust-fake-simd" ,rust-fake-simd-0.1)
+ ("rust-generic-array" ,rust-generic-array-0.8)
+ ("rust-sha2-asm" ,rust-sha2-asm-0.3))))))
+
(define-public rust-sha2-asm-0.5
(package
(name "rust-sha2-asm")