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>
This commit is contained in:
Vinicius Monego 2021-09-18 17:03:27 +00:00 committed by Nicolas Goaziou
parent e6c24b123f
commit 4b481835f2
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1274,8 +1274,37 @@ (define-public rust-aes-gcm-0.5
("rust-subtle" ,rust-subtle-2)
("rust-zeroize" ,rust-zeroize-1))))))
(define-public rust-aes-soft-0.6
(package
(name "rust-aes-soft")
(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 "0wj0fi2pvmlw09yvb1aqf0mfkzrfxmjsf90finijh255ir4wf55y"))))
(build-system cargo-build-system)
(arguments
`(#: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))
#:cargo-development-inputs
(("rust-block-cipher" ,rust-block-cipher-0.7))))
(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.
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
@ -1286,19 +1315,13 @@ (define-public rust-aes-soft-0.4
(sha256
(base32
"19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9"))))
(build-system cargo-build-system)
(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))))
(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.")
(license (list license:expat license:asl2.0))))
(("rust-block-cipher" ,rust-block-cipher-0.7))))))
(define-public rust-aes-soft-0.3
(package