diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f099b216bc..63aafa5975 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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