summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 10:54:21 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:09 +0100
commit7b5ba8e50bded0a2af98cb675c31d2679a810f40 (patch)
tree5ddeff2858c898b1b2e699d73155ee5b4b0a417a /gnu/packages
parent0c31bc4b25b52b06d2b97d389a7053561eeb9b12 (diff)
downloadguix-7b5ba8e50bded0a2af98cb675c31d2679a810f40.tar.gz
gnu: Add rust-hkdf-0.8.
* gnu/packages/crates-io.scm (rust-hkdf-0.8): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 94b9f2e786..dd81b717cc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16118,6 +16118,24 @@ compile time.")
 Derivation Function (HKDF).")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hkdf-0.8
+  (package
+    (inherit rust-hkdf-0.9)
+    (name "rust-hkdf")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hkdf" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qzsmqrvcmgnrb109qr2mvsmr5c4psm1702vrpcqnj02c408m81z"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-digest" ,rust-digest-0.8)
+        ("rust-hmac" ,rust-hmac-0.7))))))
+
 (define-public rust-hmac-0.8
   (package
     (name "rust-hmac")