guix-commits
[Top][All Lists]
Advanced

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

07/23: gnu: Add rust-cipher-0.3.


From: guix-commits
Subject: 07/23: gnu: Add rust-cipher-0.3.
Date: Tue, 13 Jul 2021 08:16:07 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 7ff1f3dbf03d002dd673eb0d34ebfe806a3eef0d
Author: Domagoj Stolfa <domagoj.stolfa@gmail.com>
AuthorDate: Sun Jul 11 15:55:38 2021 +0100

    gnu: Add rust-cipher-0.3.
    
    * gnu/packages/crates-io.scm (rust-cipher-0.3): New variable.
    (rust-cipher-0.2): Inherit from rust-cipher-0.3.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 43cba71..3aee743 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7842,22 +7842,21 @@ coding.")
     (description "This package provides Rust bindings for libclang.")
     (license license:asl2.0)))
 
-(define-public rust-cipher-0.2
+(define-public rust-cipher-0.3
   (package
     (name "rust-cipher")
-    (version "0.2.5")
+    (version "0.3.0")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "cipher" version))
         (file-name
-          (string-append name "-" version ".tar.gz"))
+         (string-append name "-" version ".tar.gz"))
         (sha256
-          (base32 "00b8imbmdg7zdrbaczlivmdfdy09xldg95wl4iijl15xgjcfgy0j"))))
+         (base32 "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby"))))
     (build-system cargo-build-system)
     (arguments
-      `(#:skip-build? #t
-        #:cargo-inputs
+     `(#:cargo-inputs
         (("rust-blobby" ,rust-blobby-0.3)
          ("rust-generic-array" ,rust-generic-array-0.14))))
     (home-page "https://docs.rs/cipher/";)
@@ -7868,6 +7867,20 @@ RustCrypto/stream-ciphers for algorithm implementations 
which use these
 traits.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-cipher-0.2
+  (package
+    (inherit rust-cipher-0.3)
+    (name "rust-cipher")
+    (version "0.2.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "cipher" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32 "00b8imbmdg7zdrbaczlivmdfdy09xldg95wl4iijl15xgjcfgy0j"))))))
+
 (define-public rust-clang-sys-0.29
   (package
     (inherit rust-clang-sys-1)



reply via email to

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