guix-commits
[Top][All Lists]
Advanced

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

28/113: gnu: rust-argon2-0.5: Move to (gnu packages crates-crypto).


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

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

commit 549d67177aff5fdbf07ff7f714bfa77f68659aea
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 21 15:50:19 2024 +0200

    gnu: rust-argon2-0.5: Move to (gnu packages crates-crypto).
    
    * gnu/packages/crates-io.scm (rust-argon2-0.5): Move from here ...
    * gnu/packages/crates-crypto.scm: ... to here.
    
    Change-Id: I34fa8c10c4ab6e1f871230a289e6afe84148df28
---
 gnu/packages/crates-crypto.scm | 30 ++++++++++++++++++++++++++++++
 gnu/packages/crates-io.scm     | 30 ------------------------------
 2 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 56ae4c58df..0ccac7d587 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -525,6 +525,36 @@ This package is deprecated and was replaced by the 
@code{aes} crate.")
         ("rust-opaque-debug" ,rust-opaque-debug-0.2)
         ("rust-stream-cipher" ,rust-stream-cipher-0.3))))))
 
+(define-public rust-argon2-0.5
+  (package
+    (name "rust-argon2")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "argon2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1y820hkza66lfliaxg49zskz7agj8wf7aak528livg261an4rfhp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-base64ct" ,rust-base64ct-1)
+        ("rust-blake2" ,rust-blake2-0.10)
+        ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+        ("rust-password-hash" ,rust-password-hash-0.5)
+        ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs
+       (("rust-hex-literal" ,rust-hex-literal-0.4)
+        ("rust-password-hash" ,rust-password-hash-0.5))))
+    (home-page
+     "https://github.com/RustCrypto/password-hashes/tree/master/argon2";)
+    (synopsis "Rust argon2 library")
+    (description
+     "Pure Rust implementation of the Argon2 password hashing function with 
support
+for the Argon2d, Argon2i, and Argon2id algorithmic variants.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-blake2-0.10
   (package
     (name "rust-blake2")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 475b499ea6..5473947af7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2305,36 +2305,6 @@ CLI parser, like @code{rust-clap}, by pre-processing the 
arguments, like
 too long errors.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-argon2-0.5
-  (package
-    (name "rust-argon2")
-    (version "0.5.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "argon2" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1y820hkza66lfliaxg49zskz7agj8wf7aak528livg261an4rfhp"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-base64ct" ,rust-base64ct-1)
-        ("rust-blake2" ,rust-blake2-0.10)
-        ("rust-cpufeatures" ,rust-cpufeatures-0.2)
-        ("rust-password-hash" ,rust-password-hash-0.5)
-        ("rust-zeroize" ,rust-zeroize-1))
-       #:cargo-development-inputs
-       (("rust-hex-literal" ,rust-hex-literal-0.4)
-        ("rust-password-hash" ,rust-password-hash-0.5))))
-    (home-page
-     "https://github.com/RustCrypto/password-hashes/tree/master/argon2";)
-    (synopsis "Rust argon2 library")
-    (description
-     "Pure Rust implementation of the Argon2 password hashing function with 
support
-for the Argon2d, Argon2i, and Argon2id algorithmic variants.")
-    (license (list license:expat license:asl2.0))))
-
 (define-public rust-ariadne-0.1
   (package
     (name "rust-ariadne")



reply via email to

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