mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 02:29:24 -05:00
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 @@ (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
|
||||
(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 "003p2hssyrcaxyq9fs8x2wx5di8ny9byaakskrf352pfm963fxkn"))))
|
||||
(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)
|
||||
|
|
Loading…
Reference in a new issue