aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:31:08 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:35 +0100
commit4f95959092f008ee1339a854cc4b5a1606e3c270 (patch)
treee93bc46b69d67861239681e057d3714e6bec09de /gnu/packages
parent1ef414db6ea9c853b0eb2dd9d3301b2f40014ee4 (diff)
downloadguix-4f95959092f008ee1339a854cc4b5a1606e3c270.tar
guix-4f95959092f008ee1339a854cc4b5a1606e3c270.tar.gz
gnu: Add rust-sha2-0.7.
* gnu/packages/crates-io.scm (rust-sha2-0.7): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aae62811e1..1515f70dd3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35959,6 +35959,27 @@ 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.7
+ (package
+ (inherit rust-sha2-0.9)
+ (name "rust-sha2")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "183yhkj16i7yzdp8i7aavpy329vz5xrd502233bq8fn2whjbxdly"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-block-buffer" ,rust-block-buffer-0.3)
+ ("rust-byte-tools" ,rust-byte-tools-0.2)
+ ("rust-digest" ,rust-digest-0.7)
+ ("rust-fake-simd" ,rust-fake-simd-0.1)
+ ("rust-sha2-asm" ,rust-sha2-asm-0.5))))))
+
(define-public rust-sha2-0.6
(package
(inherit rust-sha2-0.9)