gnu: Add rust-block-cipher-trait-0.6.

* gnu/packages/crates-io.scm (rust-block-cipher-trait-0.6): New variable.
(rust-block-cipher-trait-0.4): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-02-10 10:58:35 +01:00
parent 5489360767
commit 8227728985
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -4324,8 +4324,32 @@ extension of blocks.")
ciphers.")
(license (list license:expat license:asl2.0))))
(define-public rust-block-cipher-trait-0.6
(package
(name "rust-block-cipher-trait")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "block-cipher-trait" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0x273w6fwka0i48nrv428birdrs2jz6jdnmc0dhc1rq9pm4lv4hw"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-blobby" ,rust-blobby-0.1)
("rust-generic-array" ,rust-generic-array-0.12))))
(home-page "https://github.com/RustCrypto/block-ciphers")
(synopsis "Block cipher algorithms")
(description "This package provides a collection of block cipher
algorithms. This package is deprecated. Please use block-cipher instead.")
(license (list license:expat license:asl2.0))))
(define-public rust-block-cipher-trait-0.4
(package
(inherit rust-block-cipher-trait-0.6)
(name "rust-block-cipher-trait")
(version "0.4.2")
(source
@ -4336,15 +4360,9 @@ ciphers.")
(sha256
(base32
"10qmg8vphqmfllb9a2yx6s7r66jh1wh33clhsawq7ikg2wgz2p6q"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-generic-array" ,rust-generic-array-0.8))))
(home-page "https://github.com/RustCrypto/block-ciphers")
(synopsis "Block cipher algorithms")
(description "This package provides a collection of block cipher
algorithms. This package is deprecated. Please use block-cipher instead")
(license (list license:expat license:asl2.0))))
(("rust-generic-array" ,rust-generic-array-0.8))))))
(define-public rust-block-padding-0.2
(package