guix-commits
[Top][All Lists]
Advanced

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

37/113: gnu: rust-salsa20: Move to (gnu packages crates-crypto).


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

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

commit 62f453d53c029fe9ebdfa61c746b41128ed270e6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 21 16:02:22 2024 +0200

    gnu: rust-salsa20: Move to (gnu packages crates-crypto).
    
    * gnu/packages/crates-io.scm (rust-salsa20-0.10, rust-salsa20-0.9,
    rust-salsa20-0.7): Move from here ...
    * gnu/packages/crates-crypto.scm: ... to here.
    
    Change-Id: I219444064c8a4acbcc6b51d37c2b3c6aabf5134d
---
 gnu/packages/crates-crypto.scm | 61 ++++++++++++++++++++++++++++++++++++++
 gnu/packages/crates-io.scm     | 66 ------------------------------------------
 2 files changed, 61 insertions(+), 66 deletions(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 83d648163e..f515ab3455 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -3634,6 +3634,67 @@ Digital Signature Algorithm} (ECDSA).")
          ("rust-sha2" ,rust-sha2-0.9)
          ("rust-sha3" ,rust-sha3-0.9))))))
 
+(define-public rust-salsa20-0.10
+  (package
+    (name "rust-salsa20")
+    (version "0.10.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "salsa20" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "04w211x17xzny53f83p8f7cj7k2hi8zck282q5aajwqzydd2z8lp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cipher" ,rust-cipher-0.4))
+       #:cargo-development-inputs
+       (("rust-cipher" ,rust-cipher-0.4)
+        ("rust-hex-literal" ,rust-hex-literal-0.3))))
+    (home-page "https://github.com/RustCrypto/stream-ciphers";)
+    (synopsis "Salsa20 Stream Cipher")
+    (description "Salsa20 is a collection of stream cipher algorithms written
+in pure Rust.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-salsa20-0.9
+  (package
+    (inherit rust-salsa20-0.10)
+    (name "rust-salsa20")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "salsa20" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cipher" ,rust-cipher-0.3)
+        ("rust-zeroize" ,rust-zeroize-1))))))
+
+(define-public rust-salsa20-0.7
+  (package
+    (inherit rust-salsa20-0.10)
+    (name "rust-salsa20")
+    (version "0.7.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "salsa20" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "09c16m566g45f41xx3673zyzwca3mykz630fmv2mbjbvmwcc4fw0"))))
+    (arguments
+      `(#:cargo-inputs
+        (("rust-cipher" ,rust-cipher-0.2)
+         ("rust-zeroize" ,rust-zeroize-1))
+        #:cargo-development-inputs
+        (("rust-cipher" ,rust-cipher-0.2))))))
+
 (define-public rust-sha-1-0.10
   (package
     (name "rust-sha-1")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e97ac83fa2..43be0ab006 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59677,48 +59677,6 @@ quickly convert floating point numbers to decimal 
strings.")
      "This package provides a procedural macros for the salsa crate.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-salsa20-0.10
-  (package
-    (name "rust-salsa20")
-    (version "0.10.2")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "salsa20" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "04w211x17xzny53f83p8f7cj7k2hi8zck282q5aajwqzydd2z8lp"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-cipher" ,rust-cipher-0.4))
-       #:cargo-development-inputs
-       (("rust-cipher" ,rust-cipher-0.4)
-        ("rust-hex-literal" ,rust-hex-literal-0.3))))
-    (home-page "https://github.com/RustCrypto/stream-ciphers";)
-    (synopsis "Salsa20 Stream Cipher")
-    (description "Salsa20 is a collection of stream cipher algorithms written
-in pure Rust.")
-    (license (list license:expat license:asl2.0))))
-
-(define-public rust-salsa20-0.9
-  (package
-    (inherit rust-salsa20-0.10)
-    (name "rust-salsa20")
-    (version "0.9.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "salsa20" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-cipher" ,rust-cipher-0.3)
-        ("rust-zeroize" ,rust-zeroize-1))))))
-
 (define-public rust-salsa-0.17
   (package
     (name "rust-salsa")
@@ -59763,30 +59721,6 @@ in pure Rust.")
 computation (experimental)")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-salsa20-0.7
-  (package
-    (name "rust-salsa20")
-    (version "0.7.1")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "salsa20" version))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-          (base32 "09c16m566g45f41xx3673zyzwca3mykz630fmv2mbjbvmwcc4fw0"))))
-    (build-system cargo-build-system)
-    (arguments
-      `(#:cargo-inputs
-        (("rust-cipher" ,rust-cipher-0.2)
-         ("rust-zeroize" ,rust-zeroize-1))
-        #:cargo-development-inputs
-        (("rust-cipher" ,rust-cipher-0.2))))
-    (home-page "https://github.com/RustCrypto/stream-ciphers";)
-    (synopsis "Salsa20 stream cipher")
-    (description "This is a Rust library implementing the Salsa20 stream
-cipher.")
-    (license (list license:expat license:asl2.0))))
-
 (define-public rust-safe-arch-0.6
   (package
     (name "rust-safe-arch")



reply via email to

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