Message ID | 20210704163203.31351-15-ds815@gmx.com |
---|---|
State | Accepted |
Headers | show |
Series | Add hyperfine | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
On Sun, Jul 04 2021, Domagoj Stolfa wrote: > * gnu/packages/crates-io.scm (rust-hmac-0.10): New public 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 b4609f0f52..9e38efb765 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -20070,6 +20070,35 @@ Derivation Function (HKDF).") > "Generic implementation of Hash-based Message Authentication Code (HMAC)") > (license (list license:expat license:asl2.0)))) > > +(define-public rust-hmac-0.10 ‘rust-hmac-0.11’ was added in [10/21], is there any reason for not using that package?
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b4609f0f52..9e38efb765 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20070,6 +20070,35 @@ Derivation Function (HKDF).") "Generic implementation of Hash-based Message Authentication Code (HMAC)") (license (list license:expat license:asl2.0)))) +(define-public rust-hmac-0.10 + (package + (name "rust-hmac") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0plh47p6ryab7sc2i49jg4l8apzasw48axr37ba2c2fvai72dvzf")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/RustCrypto/MACs") + (synopsis + "Generic implementation of Hash-based Message Authentication Code (HMAC)") + (description + "Generic implementation of Hash-based Message Authentication Code (HMAC)") + (license (list license:expat license:asl2.0)))) + (define-public rust-hmac-0.8 (package (name "rust-hmac")