diff options
author | Vinicius Monego <monego@posteo.net> | 2021-09-18 17:03:27 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 13:28:44 +0100 |
commit | 4b481835f2092358993e29ca73a434890b4fa27d (patch) | |
tree | 4ab2356cdc56d62ce4de22fb2fd7a81f795656f5 /gnu | |
parent | e6c24b123f6662e627895c91f9cb85a3fb7e0a2b (diff) | |
download | guix-4b481835f2092358993e29ca73a434890b4fa27d.tar.gz |
gnu: Add rust-aes-soft-0.6.
* gnu/packages/crates-io.scm (rust-aes-soft-0.6): New variable. (rust-aes-soft-0.4): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2edd596a4f..ad47029488 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1274,21 +1274,21 @@ acceleration.") ("rust-subtle" ,rust-subtle-2) ("rust-zeroize" ,rust-zeroize-1)))))) -(define-public rust-aes-soft-0.4 +(define-public rust-aes-soft-0.6 (package (name "rust-aes-soft") - (version "0.4.0") + (version "0.6.4") (source (origin (method url-fetch) (uri (crate-uri "aes-soft" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9")))) + (base32 "0wj0fi2pvmlw09yvb1aqf0mfkzrfxmjsf90finijh255ir4wf55y")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:skip-build? #t + #:cargo-inputs (("rust-block-cipher" ,rust-block-cipher-0.7) ("rust-byteorder" ,rust-byteorder-1) ("rust-opaque-debug" ,rust-opaque-debug-0.2)) @@ -1297,9 +1297,32 @@ acceleration.") (home-page "https://github.com/RustCrypto/block-ciphers") (synopsis "Bit-sliced implementation of AES (Rijndael) block ciphers") (description "This package provides a bit-sliced implementation of -AES (Rijndael) block ciphers.") +AES (Rijndael) block ciphers. + +This package is deprecated and was replaced by the @code{aes} crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-aes-soft-0.4 + (package + (inherit rust-aes-soft-0.6) + (name "rust-aes-soft") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-soft" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9")))) + (arguments + `(#:cargo-inputs + (("rust-block-cipher" ,rust-block-cipher-0.7) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-opaque-debug" ,rust-opaque-debug-0.2)) + #:cargo-development-inputs + (("rust-block-cipher" ,rust-block-cipher-0.7)))))) + (define-public rust-aes-soft-0.3 (package (inherit rust-aes-soft-0.4) |