gnu: Add rust-scrypt-0.8.
* gnu/packages/crates-io.scm (rust-scrypt-0.8): New variable. (rust-scrypt-0.3): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
parent
93bf395228
commit
fcbad37799
|
@ -48093,8 +48093,36 @@ shareable by multiple crates in a build graph and erased by @code{cargo
|
||||||
clean}.")
|
clean}.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-scrypt-0.8
|
||||||
|
(package
|
||||||
|
(name "rust-scrypt")
|
||||||
|
(version "0.8.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "scrypt" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "09fkz5sc7qx97dyi1nkv69z36diggd2c9mja33cxpsqicdy6sgg7"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-hmac" ,rust-hmac-0.12)
|
||||||
|
("rust-password-hash" ,rust-password-hash-0.3)
|
||||||
|
("rust-pbkdf2" ,rust-pbkdf2-0.10)
|
||||||
|
("rust-salsa20" ,rust-salsa20-0.9)
|
||||||
|
("rust-sha2" ,rust-sha2-0.10))))
|
||||||
|
(home-page "https://github.com/RustCrypto/password-hashes")
|
||||||
|
(synopsis "Scrypt password-based key derivation function")
|
||||||
|
(description
|
||||||
|
"This packages provides a Scrypt password-based key derivation
|
||||||
|
function.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-scrypt-0.3
|
(define-public rust-scrypt-0.3
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-scrypt-0.8)
|
||||||
(name "rust-scrypt")
|
(name "rust-scrypt")
|
||||||
(version "0.3.0")
|
(version "0.3.0")
|
||||||
(source
|
(source
|
||||||
|
@ -48106,7 +48134,6 @@ clean}.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1apicbvp7cgc1z2nl5l48g8h3kp7p592r4zbkx9vsri2ivnvgv43"))))
|
"1apicbvp7cgc1z2nl5l48g8h3kp7p592r4zbkx9vsri2ivnvgv43"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-base64" ,rust-base64-0.12)
|
(("rust-base64" ,rust-base64-0.12)
|
||||||
|
@ -48115,12 +48142,7 @@ clean}.")
|
||||||
("rust-rand" ,rust-rand-0.7)
|
("rust-rand" ,rust-rand-0.7)
|
||||||
("rust-rand-core" ,rust-rand-core-0.5)
|
("rust-rand-core" ,rust-rand-core-0.5)
|
||||||
("rust-sha2" ,rust-sha2-0.9)
|
("rust-sha2" ,rust-sha2-0.9)
|
||||||
("rust-subtle" ,rust-subtle-2))))
|
("rust-subtle" ,rust-subtle-2))))))
|
||||||
(home-page "https://github.com/RustCrypto/password-hashes")
|
|
||||||
(synopsis "Scrypt password-based key derivation function")
|
|
||||||
(description
|
|
||||||
"Scrypt password-based key derivation function.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-scrypt-0.2
|
(define-public rust-scrypt-0.2
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue