gnu: Add rust-pbkdf2-0.11.

* gnu/packages/crates-io.scm (rust-pbkdf2-0.11): New variable.
(rust-pbkdf2-0.10): Inherit from rust-pbkdf2-0.11.
This commit is contained in:
Efraim Flashner 2023-02-22 20:58:07 +02:00
parent 93b55dbf94
commit 0fc238152b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -41391,24 +41391,23 @@ (define-public rust-pathdiff-0.2
path.") path.")
(license (list license:asl2.0 license:expat)))) (license (list license:asl2.0 license:expat))))
(define-public rust-pbkdf2-0.10 (define-public rust-pbkdf2-0.11
(package (package
(name "rust-pbkdf2") (name "rust-pbkdf2")
(version "0.10.0") (version "0.11.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "pbkdf2" version)) (uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0d3l06x5mg96njxfsksjwl6440alf72qh4rwrpnq4fwmrz1qqqm4")))) (base32 "05q9wqjvfrs4dvw03yn3bvcs4zghz0a7ycfa53pz2k2fqhp6k843"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-base64ct" ,rust-base64ct-1.0.1) (("rust-digest" ,rust-digest-0.10)
("rust-digest" ,rust-digest-0.10)
("rust-hmac" ,rust-hmac-0.12) ("rust-hmac" ,rust-hmac-0.12)
("rust-password-hash" ,rust-password-hash-0.3) ("rust-password-hash" ,rust-password-hash-0.4)
("rust-rayon" ,rust-rayon-1) ("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.10) ("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10)) ("rust-sha2" ,rust-sha2-0.10))
@ -41425,6 +41424,34 @@ (define-public rust-pbkdf2-0.10
in pure Rust.") in pure Rust.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-pbkdf2-0.10
(package
(inherit rust-pbkdf2-0.11)
(name "rust-pbkdf2")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0d3l06x5mg96njxfsksjwl6440alf72qh4rwrpnq4fwmrz1qqqm4"))))
(arguments
`(#:cargo-inputs
(("rust-base64ct" ,rust-base64ct-1.0.1)
("rust-digest" ,rust-digest-0.10)
("rust-hmac" ,rust-hmac-0.12)
("rust-password-hash" ,rust-password-hash-0.3)
("rust-rayon" ,rust-rayon-1)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-hmac" ,rust-hmac-0.12)
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10)
("rust-streebog" ,rust-streebog-0.10))))))
(define-public rust-pbkdf2-0.9 (define-public rust-pbkdf2-0.9
(package (package
(inherit rust-pbkdf2-0.10) (inherit rust-pbkdf2-0.10)