aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-01-07 15:29:39 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-19 14:04:50 +0100
commit4f45a5ee2dbb8cc4179e28fc9a9457e032023e7b (patch)
treec9cf3bd7aa7031fc30557ba8e73c25de9387e9b7 /gnu
parent29bd8ce17eeac3bcfa0c3a4e86d784c63135fffb (diff)
downloadguix-4f45a5ee2dbb8cc4179e28fc9a9457e032023e7b.tar
guix-4f45a5ee2dbb8cc4179e28fc9a9457e032023e7b.tar.gz
gnu: Add rust-hkdf-0.11.
* gnu/packages/crates-io.scm (rust-hkdf-0.11): New variable. (rust-hkdf-0.9): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 29 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f706f7cf77..4fe1dd32ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24311,25 +24311,25 @@ compile time.")
`(#:cargo-inputs
(("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4))))))
-(define-public rust-hkdf-0.9
+(define-public rust-hkdf-0.11
(package
(name "rust-hkdf")
- (version "0.9.0")
+ (version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hkdf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy"))))
+ (base32 "0sw8bz79xqq3bc5dh6nzv084g7va13j3lrqf91c10a2wimbnsw01"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.9)
- ("rust-hmac" ,rust-hmac-0.8))
+ ("rust-hmac" ,rust-hmac-0.11))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1)
+ ("rust-blobby" ,rust-blobby-0.3)
("rust-crypto-tests" ,rust-crypto-tests-0.5)
("rust-hex" ,rust-hex-0.4)
("rust-sha-1" ,rust-sha-1-0.9)
@@ -24340,6 +24340,30 @@ compile time.")
Derivation Function (HKDF).")
(license (list license:expat license:asl2.0))))
+(define-public rust-hkdf-0.9
+ (package
+ (inherit rust-hkdf-0.11)
+ (name "rust-hkdf")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hkdf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-digest" ,rust-digest-0.9)
+ ("rust-hmac" ,rust-hmac-0.8))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-crypto-tests" ,rust-crypto-tests-0.5)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))))
+
(define-public rust-hkdf-0.8
(package
(inherit rust-hkdf-0.9)