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:
parent
df4347c211
commit
dd60115ed0
1 changed files with 27 additions and 9 deletions
|
|
@ -42809,17 +42809,17 @@ and would-block I/O operations.")
|
||||||
("rust-tokio-core" ,rust-tokio-core-0.1))))
|
("rust-tokio-core" ,rust-tokio-core-0.1))))
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public rust-password-hash-0.4
|
(define-public rust-password-hash-0.5
|
||||||
(package
|
(package
|
||||||
(name "rust-password-hash")
|
(name "rust-password-hash")
|
||||||
(version "0.4.2")
|
(version "0.5.0")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method url-fetch)
|
(uri (crate-uri "password-hash" version))
|
||||||
(uri (crate-uri "password-hash" version))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(sha256
|
||||||
(sha256
|
(base32
|
||||||
(base32 "003p2hssyrcaxyq9fs8x2wx5di8ny9byaakskrf352pfm963fxkn"))))
|
"0ri1mim11zk0a9s40zdi288dfqvmdiryc7lw8vl46b59ifa08vrl"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
|
|
@ -42836,6 +42836,24 @@ the PHC string format (a well-defined subset of the Modular Crypt
|
||||||
Format (MCF).")
|
Format (MCF).")
|
||||||
(license (list license:expat license:asl2.0))))
|
(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
|
(define-public rust-password-hash-0.3
|
||||||
(package
|
(package
|
||||||
(inherit rust-password-hash-0.4)
|
(inherit rust-password-hash-0.4)
|
||||||
|
|
|
||||||
Reference in a new issue