GNU bug report logs -
#49393
[PATCH 10/21] gnu: Add rust-hmac-0.11
Previous Next
Reported by: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
Date: Sun, 4 Jul 2021 16:33:09 UTC
Severity: normal
Tags: patch
Merged with 49382,
49383,
49384,
49385,
49386,
49387,
49388,
49389,
49390,
49391,
49392,
49394,
49395,
49396,
49397,
49398,
49399,
49400,
49401,
49402,
49403
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Sun, Jul 04 2021, Domagoj Stolfa wrote:
> * gnu/packages/crates-io.scm (rust-hmac-0.11): New public variable.
> ---
> gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 055730505b..4dfaa544e8 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -19986,6 +19986,36 @@ Derivation Function (HKDF).")
> (("rust-digest" ,rust-digest-0.8)
> ("rust-hmac" ,rust-hmac-0.7))))))
>
> +(define-public rust-hmac-0.11
> + (package
> + (name "rust-hmac")
> + (version "0.11.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (crate-uri "hmac" version))
> + (file-name
> + (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia"))))
> + (build-system cargo-build-system)
> + (arguments
> + `(#:cargo-inputs
> + (("rust-crypto-mac" ,rust-crypto-mac-0.11)
> + ("rust-digest" ,rust-digest-0.9))
> + #:cargo-development-inputs
> + (("rust-crypto-mac" ,rust-crypto-mac-0.11)
> + ("rust-md-5" ,rust-md-5-0.9)
> + ("rust-sha2" ,rust-sha2-0.9)
> + ("rust-streebog" ,rust-streebog-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 period.
> (define-public rust-hmac-0.8
> (package
> (name "rust-hmac")
Looks like we already have a ‘rust-hmac’ package, I am not familiar with
Rust stuff in Guix, but would it be possible to update that package
instead of adding a new one?
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 32 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.