guix-commits
[Top][All Lists]
Advanced

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

294/470: gnu: Add rust-password-hash-0.4.


From: guix-commits
Subject: 294/470: gnu: Add rust-password-hash-0.4.
Date: Thu, 16 Mar 2023 03:01:38 -0400 (EDT)

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

commit cc6518f96f9bdfc16bab5580bb24051ea6d128ae
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 20:49:37 2023 +0200

    gnu: Add rust-password-hash-0.4.
    
    * gnu/packages/crates-io.scm (rust-password-hash-0.4): New variable.
    (rust-password-hash-0.3): Inherit from rust-password-hash-0.4.
---
 gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++-----
 1 file changed, 23 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 12a918c63e..a3bbb4d6fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40962,21 +40962,20 @@ and would-block I/O operations.")
         ("rust-tokio-core" ,rust-tokio-core-0.1))))
     (license license:bsd-3)))
 
-(define-public rust-password-hash-0.3
+(define-public rust-password-hash-0.4
   (package
     (name "rust-password-hash")
-    (version "0.3.2")
+    (version "0.4.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "password-hash" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x"))))
+        (base32 "003p2hssyrcaxyq9fs8x2wx5di8ny9byaakskrf352pfm963fxkn"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-base64ct" ,rust-base64ct-1)
         ("rust-rand-core" ,rust-rand-core-0.6)
         ("rust-subtle" ,rust-subtle-2))))
@@ -40990,6 +40989,25 @@ the PHC string format (a well-defined subset of the 
Modular Crypt
 Format (MCF).")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-password-hash-0.3
+  (package
+    (inherit rust-password-hash-0.4)
+    (name "rust-password-hash")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "password-hash" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-base64ct" ,rust-base64ct-1)
+        ("rust-rand-core" ,rust-rand-core-0.6)
+        ("rust-subtle" ,rust-subtle-2))))))
+
 (define-public rust-paste-1
   (package
     (name "rust-paste")



reply via email to

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