me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-pbkdf2-0.12.

* gnu/packages/crates-io.scm (rust-pbkdf2-0.12): New variable.
(rust-pbkdf2-0.11): Inherit from rust-pbkdf2-0.12.
Efraim Flashner 2023-05-11 16:59:17 +03:00
parent dd60115ed0
commit caa8d92094
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 36 additions and 7 deletions

View File

@ -43010,8 +43010,43 @@ relative path from a provided base directory path to the provided
path.")
(license (list license:asl2.0 license:expat))))
(define-public rust-pbkdf2-0.12
(package
(name "rust-pbkdf2")
(version "0.12.1")
(source (origin
(method url-fetch)
(uri (crate-uri "pbkdf2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0cbcfkb9qh5czbm88gw3aii4y5m84wig6s5d7fzrhxb0d1d0pjph"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
("rust-hmac" ,rust-hmac-0.12)
("rust-password-hash" ,rust-password-hash-0.5)
("rust-rayon" ,rust-rayon-1)
("rust-sha1" ,rust-sha1-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-sha1" ,rust-sha1-0.10)
("rust-sha2" ,rust-sha2-0.10)
("rust-streebog" ,rust-streebog-0.10))))
(home-page
"https://github.com/RustCrypto/password-hashes/tree/master/pbkdf2")
(synopsis "Generic implementation of PBKDF2")
(description "This package contains a collection of password hashing
algorithms, otherwise known as password-based key derivation functions, written
in pure Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-pbkdf2-0.11
(package
(inherit rust-pbkdf2-0.12)
(name "rust-pbkdf2")
(version "0.11.0")
(source
@ -43021,7 +43056,6 @@ path.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05q9wqjvfrs4dvw03yn3bvcs4zghz0a7ycfa53pz2k2fqhp6k843"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10)
@ -43036,12 +43070,7 @@ path.")
("rust-sha-1" ,rust-sha-1-0.10)
("rust-sha2" ,rust-sha2-0.10)
("rust-streebog" ,rust-streebog-0.10))))
(home-page "https://github.com/RustCrypto/password-hashing")
(synopsis "Generic implementation of PBKDF2")
(description "This package contains a collection of password hashing
algorithms, otherwise known as password-based key derivation functions, written
in pure Rust.")
(license (list license:expat license:asl2.0))))
(home-page "https://github.com/RustCrypto/password-hashing")))
(define-public rust-pbkdf2-0.10
(package