guix-commits
[Top][All Lists]
Advanced

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

07/113: gnu: rust-cipher: Move to (gnu packages crates-crypto).


From: guix-commits
Subject: 07/113: gnu: rust-cipher: Move to (gnu packages crates-crypto).
Date: Mon, 22 Jan 2024 04:30:01 -0500 (EST)

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

commit bf455f2a5e4a708cd9149eb7ce7b722de6af0b26
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 21 15:05:36 2024 +0200

    gnu: rust-cipher: Move to (gnu packages crates-crypto).
    
    * gnu/packages/crates-io.scm (rust-cipher-0.4, rust-cipher-0.3,
    rust-cipher-0.2): Move from here ...
    * gnu/packages/crates-crypto.scm: ... to here.
    
    Change-Id: I52d8ae28b64ad7e81eaea349fdd4ffa045928c5c
---
 gnu/packages/crates-crypto.scm  | 59 +++++++++++++++++++++++++++++++++++++++++
 gnu/packages/crates-io.scm      | 59 -----------------------------------------
 gnu/packages/crates-windows.scm |  1 +
 3 files changed, 60 insertions(+), 59 deletions(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 59cc42eb77..7ad9e2fcc0 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -705,6 +705,65 @@ based on Blake2s.")
      "The ChaCha family of stream ciphers.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-cipher-0.4
+  (package
+    (name "rust-cipher")
+    (version "0.4.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "cipher" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32 "1b9x9agg67xq5nq879z66ni4l08m6m3hqcshk37d4is4ysd3ngvp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("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
+of block ciphers and stream ciphers.  See RustCrypto/block-ciphers and
+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)
+    (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-crypto-secretbox-0.1
   (package
     (name "rust-crypto-secretbox")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 12b5c23259..45a1239292 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11291,65 +11291,6 @@ interoperation between crates in Rust.")
     (description "This package provides a FLAC decoding library.")
     (license license:asl2.0)))
 
-(define-public rust-cipher-0.4
-  (package
-    (name "rust-cipher")
-    (version "0.4.4")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "cipher" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32 "1b9x9agg67xq5nq879z66ni4l08m6m3hqcshk37d4is4ysd3ngvp"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("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
-of block ciphers and stream ciphers.  See RustCrypto/block-ciphers and
-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)
-    (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)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 2131609dff..f03de31fca 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -37,6 +37,7 @@
   #:use-module (guix gexp)
   #:use-module (guix utils)
   #:use-module (gnu packages)
+  #:use-module (gnu packages crates-crypto)
   #:use-module (gnu packages crates-io))
 
 (define-public rust-anstyle-wincon-3



reply via email to

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