mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add rust-hmac-0.5.
* gnu/packages/crates-io.scm (rust-hmac-0.5): New variable.
This commit is contained in:
parent
d24d7bc736
commit
6b06289f7e
1 changed files with 18 additions and 0 deletions
|
@ -17096,6 +17096,24 @@ (define-public rust-hmac-0.7
|
|||
("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)
|
||||
|
|
Loading…
Reference in a new issue