mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-rust-argon2-2.
* gnu/packages/crates-crypto.scm (rust-rust-argon2-2): New variable. (rust-rust-argon2-0.8): Inherit from rust-rust-argon2-2. Change-Id: I9636b29a24d317ddeb2b4284a0bdbe382e764a14 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
54ba82b23e
commit
5d4c985a93
1 changed files with 29 additions and 8 deletions
|
@ -5138,8 +5138,36 @@ traits with cryptographic algorithm implementations from @code{ring}.")
|
||||||
("rust-sha2" ,rust-sha2-0.9)
|
("rust-sha2" ,rust-sha2-0.9)
|
||||||
("rust-sha3" ,rust-sha3-0.9))))))
|
("rust-sha3" ,rust-sha3-0.9))))))
|
||||||
|
|
||||||
|
(define-public rust-rust-argon2-2
|
||||||
|
(package
|
||||||
|
(name "rust-rust-argon2")
|
||||||
|
(version "2.1.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "rust-argon2" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1s66kgbvnv5vaq4vlglx587bq93c662whrniz6ycpjb03m9li64x"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-base64" ,rust-base64-0.21)
|
||||||
|
("rust-blake2b-simd" ,rust-blake2b-simd-1)
|
||||||
|
("rust-constant-time-eq" ,rust-constant-time-eq-0.3)
|
||||||
|
("rust-serde" ,rust-serde-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-hex" ,rust-hex-0.4))))
|
||||||
|
(home-page "https://github.com/sru-systems/rust-argon2")
|
||||||
|
(synopsis "Argon2 password hashing function in Rust")
|
||||||
|
(description
|
||||||
|
"This package provides a Rust implementation of the Argon2 password
|
||||||
|
hashing function.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-rust-argon2-0.8
|
(define-public rust-rust-argon2-0.8
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-rust-argon2-2)
|
||||||
(name "rust-rust-argon2")
|
(name "rust-rust-argon2")
|
||||||
(version "0.8.3")
|
(version "0.8.3")
|
||||||
(source
|
(source
|
||||||
|
@ -5149,7 +5177,6 @@ traits with cryptographic algorithm implementations from @code{ring}.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
|
(base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -5157,13 +5184,7 @@ traits with cryptographic algorithm implementations from @code{ring}.")
|
||||||
("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
|
("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
|
||||||
("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
|
("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
|
||||||
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
|
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
|
||||||
("rust-serde" ,rust-serde-1))))
|
("rust-serde" ,rust-serde-1))))))
|
||||||
(home-page "https://github.com/sru-systems/rust-argon2")
|
|
||||||
(synopsis "Argon2 password hashing function in Rust")
|
|
||||||
(description
|
|
||||||
"This package provides a Rust implementation of the Argon2 password
|
|
||||||
hashing function.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-rust-argon2-0.7
|
(define-public rust-rust-argon2-0.7
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue