gnu: Add rust-aead-0.4.
* gnu/packages/crates-io.scm (rust-aead-0.4): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
22a586bca5
commit
b3a14b57b9
1 changed files with 27 additions and 0 deletions
|
@ -1219,6 +1219,33 @@ the Rust programming language.")
|
||||||
(license (list license:bsd-3
|
(license (list license:bsd-3
|
||||||
license:zlib))))
|
license:zlib))))
|
||||||
|
|
||||||
|
(define-public rust-aead-0.4
|
||||||
|
(package
|
||||||
|
(name "rust-aead-4")
|
||||||
|
(version "0.4.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "aead" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0xw8kp9j1whfdxhgmr2qf9xgslkg52zh6gzmhsh13y9w3s73nq8b"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-blobby" ,rust-blobby-0.3)
|
||||||
|
("rust-generic-array" ,rust-generic-array-0.14)
|
||||||
|
("rust-heapless" ,rust-heapless-0.7)
|
||||||
|
("rust-rand-core" ,rust-rand-core-0.6))))
|
||||||
|
(home-page "https://github.com/RustCrypto/traits")
|
||||||
|
(synopsis
|
||||||
|
"Traits for Authenticated Encryption with Associated Data (AEAD) algorithms")
|
||||||
|
(description
|
||||||
|
"This package provides traits for Authenticated Encryption with Associated
|
||||||
|
Data (AEAD) algorithms, such as AES-GCM as ChaCha20Poly1305, which provide a
|
||||||
|
high-level API.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-aead-0.3
|
(define-public rust-aead-0.3
|
||||||
(package
|
(package
|
||||||
(name "rust-aead")
|
(name "rust-aead")
|
||||||
|
|
Reference in a new issue