aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomagoj Stolfa <domagoj.stolfa@gmail.com>2021-07-11 15:55:46 +0100
committerEfraim Flashner <efraim@flashner.co.il>2021-07-13 15:14:15 +0300
commit39a31ec44321c05cf4c2cfc025782a18c598294e (patch)
tree47f55592319bbef3ef8eca1492fc63804e1c73ee
parent8704eccea40a04299227b4a904f101fee0d9e254 (diff)
downloadguix-39a31ec44321c05cf4c2cfc025782a18c598294e.tar
guix-39a31ec44321c05cf4c2cfc025782a18c598294e.tar.gz
gnu: Add rust-hmac-0.10.
* gnu/packages/crates-io.scm (rust-hmac-0.10): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-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 9938c2a9e2..0d4a107347 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20274,6 +20274,29 @@ Derivation Function (HKDF).")
Hash-based Message Authentication Code}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-hmac-0.10
+ (package
+ (inherit rust-hmac-0.11)
+ (name "rust-hmac")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hmac" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "058yxq54x7xn0gk2vy9bl51r32c9z7qlcl2b80bjh3lk3rmiqi61"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.10)
+ ("rust-digest" ,rust-digest-0.9))
+ #:cargo-development-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.10)
+ ("rust-md-5" ,rust-md-5-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))))
+
(define-public rust-hmac-0.8
(package
(inherit rust-hmac-0.11)