summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-22 20:49:37 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:10 +0300
commit7309bbe9001e45be0c5da70467cc25f46338070c (patch)
tree97080c12f13d84f8b07819e8101fd83892dae2da
parent934d2fb05aede53ad8936c3fba9ce41e116853e6 (diff)
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.
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 23 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 880afc070e..19d8ac0348 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41148,21 +41148,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))))
@@ -41176,6 +41175,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")