aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 11:46:48 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:42 +0100
commit83a6764671318b82606dbc291186ca26a890868d (patch)
tree395593fad814fd1b445bfd3420a757ef0acf5914
parent27df0bbc06c1b575668edbc42cd36b1defc216b2 (diff)
downloadguix-83a6764671318b82606dbc291186ca26a890868d.tar.gz
guix-83a6764671318b82606dbc291186ca26a890868d.zip
gnu: Add rust-hmac-sha1-0.1.
* gnu/packages/crates-io.scm (rust-hmac-sha1-0.1): New variable.
-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 8e4976fea7..27e339204f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15740,6 +15740,29 @@ Hash-based Message Authentication Code}.")
("rust-md-5" ,rust-md-5-0.8)
("rust-sha2" ,rust-sha2-0.8))))))
+(define-public rust-hmac-sha1-0.1
+ (package
+ (name "rust-hmac-sha1")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hmac-sha1" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08k7aylc0v8x3abmxn3h73dkad3anfq2i94xk2mjrf4linnkycz1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-sha1" ,rust-sha1-0.2))))
+ (home-page "https://github.com/pantsman0/rust-hmac-sha1")
+ (synopsis "Minimal implementation of HMAC-SHA1 in Rust")
+ (description
+ "This package is a pure Rust implementation of the Hash-based Message
+Authentication Code Algoritm (HMAC) for SHA1.")
+ (license license:bsd-3)))
+
(define-public rust-hostname-0.3
(package
(name "rust-hostname")