guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#61958] [PATCH 05/32] gnu: Add rust-cipher-0.4.


From: Arjan Adriaanse
Subject: [bug#61958] [PATCH 05/32] gnu: Add rust-cipher-0.4.
Date: Sat, 4 Mar 2023 14:53:59 +0100

* gnu/packages/crates-io.scm (rust-cipher-0.4): New variable.
(rust-cipher-0.3): Inherit from above.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6bae1c146e..a4d0f4eae5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10343,10 +10343,10 @@ (define-public rust-clang-sys-1
     (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)
@@ -10354,12 +10354,14 @@ (define-public rust-cipher-0.3
         (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-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
@@ -10368,6 +10370,24 @@ (define-public rust-cipher-0.3
 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)
-- 
2.39.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]