[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/05: gnu: Add rust-hmac-0.7.
From: |
guix-commits |
Subject: |
03/05: gnu: Add rust-hmac-0.7. |
Date: |
Sun, 28 Jun 2020 02:39:57 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit a8b83c6c4470b4c4d3eb8d88b8d2b1b3cba3d6da
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jun 28 08:43:24 2020 +0300
gnu: Add rust-hmac-0.7.
* gnu/packages/crates-io.scm (rust-hmac-0.7): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8ba1413..bfc00cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9801,6 +9801,35 @@ compile time.")
`(#:cargo-inputs
(("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4))))))
+(define-public rust-hmac-0.7
+ (package
+ (name "rust-hmac")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hmac" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15cnwpssp2n1kdm9x7abir67f2hp3q6rdfj1mcck3hm4rmj5xjsx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.7)
+ ("rust-digest" ,rust-digest-0.8))
+ #:cargo-development-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.7)
+ ("rust-md-5" ,rust-md-5-0.8)
+ ("rust-sha2" ,rust-sha2-0.8))))
+ (home-page "https://github.com/RustCrypto/MACs")
+ (synopsis "Generic implementation of Hash-based Message Authentication
Code")
+ (description
+ "This package provides a generic implementation of @acronym{HMAC,
+Hash-based Message Authentication Code}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-hostname-0.1
(package
(name "rust-hostname")