gnu: Add rust-password-hash-0.5.

* gnu/packages/crates-io.scm (rust-password-hash-0.5): New variable.
(rust-password-hash-0.4): Inherit from rust-password-hash-0.5.
This commit is contained in:
Efraim Flashner 2023-05-11 16:58:46 +03:00
parent df4347c211
commit dd60115ed0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -42809,17 +42809,17 @@ (define-public rust-partial-io-0.2
("rust-tokio-core" ,rust-tokio-core-0.1))))
(license license:bsd-3)))
(define-public rust-password-hash-0.4
(define-public rust-password-hash-0.5
(package
(name "rust-password-hash")
(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 "003p2hssyrcaxyq9fs8x2wx5di8ny9byaakskrf352pfm963fxkn"))))
(version "0.5.0")
(source (origin
(method url-fetch)
(uri (crate-uri "password-hash" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0ri1mim11zk0a9s40zdi288dfqvmdiryc7lw8vl46b59ifa08vrl"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@ -42836,6 +42836,24 @@ (define-public rust-password-hash-0.4
Format (MCF).")
(license (list license:expat license:asl2.0))))
(define-public rust-password-hash-0.4
(package
(inherit rust-password-hash-0.5)
(name "rust-password-hash")
(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 "003p2hssyrcaxyq9fs8x2wx5di8ny9byaakskrf352pfm963fxkn"))))
(arguments
`(#:cargo-inputs
(("rust-base64ct" ,rust-base64ct-1)
("rust-rand-core" ,rust-rand-core-0.6)
("rust-subtle" ,rust-subtle-2))))))
(define-public rust-password-hash-0.3
(package
(inherit rust-password-hash-0.4)