diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 10:58:35 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:11 +0100 |
commit | 82277289855480430fe7b13aec9818d20810f8a8 (patch) | |
tree | 0c65ce19f9b17d4058554b56f5239ac1e27f4348 | |
parent | 548936076796b2c0f917049ab66dd2b09ff0560f (diff) | |
download | guix-82277289855480430fe7b13aec9818d20810f8a8.tar.gz guix-82277289855480430fe7b13aec9818d20810f8a8.zip |
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.
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 25 insertions, 7 deletions
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,28 +4324,46 @@ extension of blocks.") ciphers.") (license (list license:expat license:asl2.0)))) -(define-public rust-block-cipher-trait-0.4 +(define-public rust-block-cipher-trait-0.6 (package (name "rust-block-cipher-trait") - (version "0.4.2") + (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 - "10qmg8vphqmfllb9a2yx6s7r66jh1wh33clhsawq7ikg2wgz2p6q")))) + (base32 "0x273w6fwka0i48nrv428birdrs2jz6jdnmc0dhc1rq9pm4lv4hw")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.8)))) + `(#: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") +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 + (origin + (method url-fetch) + (uri (crate-uri "block-cipher-trait" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10qmg8vphqmfllb9a2yx6s7r66jh1wh33clhsawq7ikg2wgz2p6q")))) + (arguments + `(#:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.8)))))) + (define-public rust-block-padding-0.2 (package (name "rust-block-padding") |