summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:32:33 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:36 +0100
commitd24d7bc7361fca1f03c6348300d3221806656ec0 (patch)
tree34ddd9dad97e400f7e34e804ed01c7f764d73c51 /gnu
parente6ca1278d8ee3dbe19139afd61b61775a40fb4ee (diff)
downloadguix-d24d7bc7361fca1f03c6348300d3221806656ec0.tar.gz
gnu: Add rust-crypto-mac-0.5.
* gnu/packages/crates-io.scm (rust-crypto-mac-0.5): New variable.
Diffstat (limited to 'gnu')
-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 70033e0b84..99409bc42f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9097,6 +9097,24 @@ Code} (MAC) algorithms.")
         ("rust-generic-array" ,rust-generic-array-0.12)
         ("rust-subtle" ,rust-subtle-1))))))
 
+(define-public rust-crypto-mac-0.5
+  (package
+    (inherit rust-crypto-mac-0.10)
+    (name "rust-crypto-mac")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crypto-mac" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0n6r10zlnfv9gbjj0380sxfffxhq1khfjqwsn7fx8iil9pzv9689"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
+        ("rust-generic-array" ,rust-generic-array-0.9))))))
+
 (define-public rust-crypto-mac-0.4
   (package
     (name "rust-crypto-mac")