diff options
-rw-r--r-- | gnu/packages/crates-io.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 99409bc42f..22f7735121 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17096,6 +17096,24 @@ Hash-based Message Authentication Code}.") ("rust-md-5" ,rust-md-5-0.8) ("rust-sha2" ,rust-sha2-0.8)))))) +(define-public rust-hmac-0.5 + (package + (inherit rust-hmac-0.8) + (name "rust-hmac") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ppm927wsczkkvybj0y7r2w2lprvy5kf5h31qxyrvnbrhnqbvws4")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.5) + ("rust-digest" ,rust-digest-0.7)))))) + (define-public rust-hmac-0.4 (package (inherit rust-hmac-0.8) |