gnu: Add rust-scrypt-0.3.

* gnu/packages/crates-io.scm (rust-scrypt-0.3): New variable.
(rust-scrypt-0.2): Inherit from rust-scrypt-0.2.
This commit is contained in:
Efraim Flashner 2020-06-28 14:55:51 +03:00
parent 0fe2c226bb
commit 73839a19d3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -20452,8 +20452,38 @@ (define-public rust-scopeguard-0.3
(base32
"09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
(define-public rust-scrypt-0.3
(package
(name "rust-scrypt")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "scrypt" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1apicbvp7cgc1z2nl5l48g8h3kp7p592r4zbkx9vsri2ivnvgv43"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.12)
("rust-hmac" ,rust-hmac-0.8)
("rust-pbkdf2" ,rust-pbkdf2-0.4)
("rust-rand" ,rust-rand-0.7)
("rust-rand-core" ,rust-rand-core-0.5)
("rust-sha2" ,rust-sha2-0.9)
("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
(package
(inherit rust-scrypt-0.3)
(name "rust-scrypt")
(version "0.2.0")
(source
@ -20465,7 +20495,6 @@ (define-public rust-scrypt-0.2
(sha256
(base32
"1pfgqgzdjxjf7c8r1wfka0ackfpv1g8w7wvbr25b42hdx787jv35"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.9)
@ -20475,12 +20504,7 @@ (define-public rust-scrypt-0.2
("rust-pbkdf2" ,rust-pbkdf2-0.3)
("rust-rand" ,rust-rand-0.5)
("rust-sha2" ,rust-sha2-0.8)
("rust-subtle" ,rust-subtle-1.0))))
(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))))
("rust-subtle" ,rust-subtle-1.0))))))
(define-public rust-scroll-0.10
(package