guix-commits
[Top][All Lists]
Advanced

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

159/281: gnu: Add rust-cipher-0.4.


From: guix-commits
Subject: 159/281: gnu: Add rust-cipher-0.4.
Date: Wed, 22 Feb 2023 05:41:06 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 8ae5ea63b39b37045845b2a6edb8cfdd025b28a2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 10:33:47 2023 +0200

    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.
---
 gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 18b84dc654..bbb6b53e51 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10666,10 +10666,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)
@@ -10677,12 +10677,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
@@ -10691,6 +10693,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)



reply via email to

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