guix-commits
[Top][All Lists]
Advanced

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

13/25: gnu: Add rust-password-hash-0.4.


From: guix-commits
Subject: 13/25: gnu: Add rust-password-hash-0.4.
Date: Wed, 22 Feb 2023 14:05:14 -0500 (EST)

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

commit 3111f325a135454cfa9716d18a5ebf86afe16a9c
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 cd0f150c68..e9c22e9e0f 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]