On Sun, Jul 11 2021, southerntofu via Guix-patches via wrote: > --- > gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm > index 258649f6a0..2ac2230490 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -20141,6 +20141,33 @@ Derivation Function (HKDF).") > (("rust-digest" ,rust-digest-0.8) > ("rust-hmac" ,rust-hmac-0.7)))))) > > +(define-public rust-hmac-0.10 > + (package > + (name "rust-hmac") > + (version "0.10.1") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "hmac" version)) > + (file-name > + (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "058yxq54x7xn0gk2vy9bl51r32c9z7qlcl2b80bjh3lk3rmiqi61")))) > + (build-system cargo-build-system) > + (arguments > + `(#:skip-build? > + #t > + #:cargo-inputs > + (("rust-crypto-mac" ,rust-crypto-mac-0.10) > + ("rust-digest" ,rust-digest-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)") Full sentence and missing period. > + > (define-public rust-hmac-0.8 > (package > (name "rust-hmac") There is already a ‘rust-hmac-0.8’ package, maybe make it inherit from ‘rust-hmac-0.10’.