aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-17 13:52:49 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:51 +0530
commite8f23ed2aa86ad96453f9280506b2976a1dd91cf (patch)
treeb5cae0a44c53e4c3e7ac01d550d6a511ba3ed279
parentbe54916f7ad6c642567870867811e41d93e1384b (diff)
downloadguix-e8f23ed2aa86ad96453f9280506b2976a1dd91cf.tar
guix-e8f23ed2aa86ad96453f9280506b2976a1dd91cf.tar.gz
gnu: Add rust-aes-0.4.
* gnu/packages/crates-io.scm (rust-aes-0.4): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 94700b1d25..adbf95bf55 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -194,6 +194,32 @@ the Rust programming language.")
(sha256
(base32
"1rw11hycfjhqbc7z1smn75m0sczq519msjwimxh7b8s6n4pzk5r7"))))
+(define-public rust-aes-0.4
+ (package
+ (name "rust-aes")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xgsp2bn5llsppald60iw4497gaspslg0a8hknhniiz4zmki607p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-aes-soft" ,rust-aes-soft-0.4)
+ ("rust-aesni" ,rust-aesni-0.7)
+ ("rust-block-cipher" ,rust-block-cipher-0.7))
+ #:cargo-development-inputs
+ (("rust-block-cipher" ,rust-block-cipher-0.7))))
+ (home-page "https://github.com/RustCrypto/block-ciphers")
+ (synopsis "Facade for AES (Rijndael) block ciphers implementations")
+ (description "This package provides a facade for AES (Rijndael) block
+ciphers implementations.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-aes-soft-0.4
(package
(name "rust-aes-soft")