mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 19:57:39 -05:00
gnu: Add rust-crypto-mac-0.10.
* gnu/packages/crates-io.scm (rust-crypto-mac-0.10): New variable. (rust-crypto-mac-0.8) Inherit from rust-crypto-mac-0.10.
This commit is contained in:
parent
5fb1ad6e57
commit
4c640083f5
1 changed files with 29 additions and 8 deletions
|
@ -7588,8 +7588,35 @@ (define-public rust-crossterm-winapi-0.4
|
|||
around common WinAPI calls.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-crypto-mac-0.10
|
||||
(package
|
||||
(name "rust-crypto-mac")
|
||||
(version "0.10.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "crypto-mac" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "19iyh7h9qaqrv29dhbd31rm6pq023ry78nw7jwr3qjy3l22zsms8"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-blobby" ,rust-blobby-0.3)
|
||||
("rust-cipher" ,rust-cipher-0.2)
|
||||
("rust-generic-array" ,rust-generic-array-0.14)
|
||||
("rust-subtle" ,rust-subtle-2))))
|
||||
(home-page "https://github.com/RustCrypto/traits")
|
||||
(synopsis "Trait for Message Authentication Code (MAC) algorithms")
|
||||
(description "This package provides trait for @dfn{Message Authentication
|
||||
Code} (MAC) algorithms.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-crypto-mac-0.8
|
||||
(package
|
||||
(inherit rust-crypto-mac-0.10)
|
||||
(name "rust-crypto-mac")
|
||||
(version "0.8.0")
|
||||
(source
|
||||
|
@ -7600,18 +7627,12 @@ (define-public rust-crypto-mac-0.8
|
|||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1axfs4zmy74rn9666p92j7nmcv11zdp2d51yrppc2dv26cqa715m"))))
|
||||
(build-system cargo-build-system)
|
||||
"1rbrq6qy9dl0pj4ym2zy33miaaa8vpzdss60p9bdb58xy46l0d24"))))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-blobby" ,rust-blobby-0.1)
|
||||
("rust-generic-array" ,rust-generic-array-0.14)
|
||||
("rust-subtle" ,rust-subtle-2))))
|
||||
(home-page "https://github.com/RustCrypto/traits")
|
||||
(synopsis "Trait for Message Authentication Code (MAC) algorithms")
|
||||
(description "This package provides trait for @dfn{Message Authentication
|
||||
Code} (MAC) algorithms.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-subtle" ,rust-subtle-2))))))
|
||||
|
||||
(define-public rust-crypto-mac-0.7
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue