diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-22 10:33:47 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:28:59 +0300 |
commit | a4e6a18e1e37c15b75624cf0fdc54cac9c891dcc (patch) | |
tree | 87db99e8f2325e6f20584539ca0a45574405e070 /gnu/packages | |
parent | 08985e4f755560b7a6134400c04252982b5a6b23 (diff) | |
download | guix-a4e6a18e1e37c15b75624cf0fdc54cac9c891dcc.tar.gz |
gnu: Add rust-cipher-0.4.
* gnu/packages/crates-io.scm (rust-cipher-0.4): New variable. (rust-cipher-0.3): Inherit from rust-cipher-0.4.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8083052a7a..0a1a2e5cb9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10828,10 +10828,10 @@ usage.") (description "This package provides Rust bindings for libclang.") (license license:asl2.0))) -(define-public rust-cipher-0.3 +(define-public rust-cipher-0.4 (package (name "rust-cipher") - (version "0.3.0") + (version "0.4.3") (source (origin (method url-fetch) @@ -10839,12 +10839,14 @@ usage.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby")))) + (base32 "17mmmqaalirdx7bpdhrgzp1sd392zm08mjrr24cjr57pz1q351yi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-generic-array" ,rust-generic-array-0.14)))) + (("rust-blobby" ,rust-blobby-0.3) + ("rust-crypto-common" ,rust-crypto-common-0.1) + ("rust-inout" ,rust-inout-0.1) + ("rust-zeroize" ,rust-zeroize-1)))) (home-page "https://docs.rs/cipher/") (synopsis "Traits for describing block ciphers and stream ciphers") (description "This package provides traits which define the functionality @@ -10853,6 +10855,24 @@ RustCrypto/stream-ciphers for algorithm implementations which use these traits.") (license (list license:expat license:asl2.0)))) +(define-public rust-cipher-0.3 + (package + (inherit rust-cipher-0.4) + (name "rust-cipher") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cipher" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby")))) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-generic-array" ,rust-generic-array-0.14)))))) + (define-public rust-cipher-0.2 (package (inherit rust-cipher-0.3) |