mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05:00
gnu: Add rust-hmac-0.12.
* gnu/packages/crates-io.scm (rust-hmac-0.12): New variable. (rust-hmac-0.11): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
60d12ffebd
commit
b08fb5041b
1 changed files with 26 additions and 8 deletions
|
@ -24282,8 +24282,33 @@ (define-public rust-hkdf-0.8
|
|||
(("rust-digest" ,rust-digest-0.8)
|
||||
("rust-hmac" ,rust-hmac-0.7))))))
|
||||
|
||||
(define-public rust-hmac-0.12
|
||||
(package
|
||||
(name "rust-hmac")
|
||||
(version "0.12.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "hmac" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"18nnjkvvpkjw6ppcyijysgxmr4a7knd98msb6vgy4b3z7qgi7jnx"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs (("rust-digest" ,rust-digest-0.10))))
|
||||
(home-page "https://github.com/RustCrypto/MACs")
|
||||
(synopsis "Generic implementation of Hash-based Message Authentication Code")
|
||||
(description
|
||||
"This package provides a generic implementation of @acronym{HMAC,
|
||||
Hash-based Message Authentication Code}.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-hmac-0.11
|
||||
(package
|
||||
(inherit rust-hmac-0.12)
|
||||
(name "rust-hmac")
|
||||
(version "0.11.0")
|
||||
(source
|
||||
|
@ -24295,7 +24320,6 @@ (define-public rust-hmac-0.11
|
|||
(sha256
|
||||
(base32
|
||||
"16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-crypto-mac" ,rust-crypto-mac-0.11)
|
||||
|
@ -24304,13 +24328,7 @@ (define-public rust-hmac-0.11
|
|||
(("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")
|
||||
(description
|
||||
"This package provides a generic implementation of @acronym{HMAC,
|
||||
Hash-based Message Authentication Code}.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-streebog" ,rust-streebog-0.9))))))
|
||||
|
||||
(define-public rust-hmac-0.10
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue