diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-09 11:47:22 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:49:42 +0100 |
commit | f885b7eb81056f5eb16841ed9110659d893842c1 (patch) | |
tree | f8e2cafeb6d39f649322f7916aac9e52f3fc24b9 | |
parent | 83a6764671318b82606dbc291186ca26a890868d (diff) | |
download | guix-f885b7eb81056f5eb16841ed9110659d893842c1.tar.gz guix-f885b7eb81056f5eb16841ed9110659d893842c1.zip |
gnu: Add rust-hmac-0.4.
* gnu/packages/crates-io.scm (rust-hmac-0.4): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 27e339204f..2263b8dcb9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15740,6 +15740,26 @@ Hash-based Message Authentication Code}.") ("rust-md-5" ,rust-md-5-0.8) ("rust-sha2" ,rust-sha2-0.8)))))) +(define-public rust-hmac-0.4 + (package + (inherit rust-hmac-0.8) + (name "rust-hmac") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0amfn9wggxapyva1i0j7wldy9chj487cxal4wldwmid078bg84vs")))) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.4) + ("rust-digest" ,rust-digest-0.6) + ("rust-generic-array" ,rust-generic-array-0.8)))))) + (define-public rust-hmac-sha1-0.1 (package (name "rust-hmac-sha1") |