diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-21 20:04:09 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:04 +0200 |
commit | 92d9b2e0961e7edc7a8936c1a1d0af62719018e7 (patch) | |
tree | 2f8eee93fe629e59aa0c33ea01262c155ced6ddd /gnu/packages/crates-crypto.scm | |
parent | 3745fb9b88584bd8f5740da9a312413b43d03066 (diff) |
gnu: rust-rust-argon2: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-rust-argon2-0.8,
rust-rust-argon2-0.7): Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.
Change-Id: I696481f1c496d6654e7c3d3a6f1b4e580edb6b64
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r-- | gnu/packages/crates-crypto.scm | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index d1d63d5bed..91f3ae2910 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -4623,6 +4623,54 @@ Digital Signature Algorithm} (ECDSA).") ("rust-sha2" ,rust-sha2-0.9) ("rust-sha3" ,rust-sha3-0.9)))))) +(define-public rust-rust-argon2-0.8 + (package + (name "rust-rust-argon2") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-argon2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("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 + (package + (inherit rust-rust-argon2-0.8) + (name "rust-rust-argon2") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-argon2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05xh5wfxgzq3b6jys8r34f3hmqqfs8ylvf934n9z87wfv95szj1b")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-constant-time-eq" ,rust-constant-time-eq-0.1) + ("rust-base64" ,rust-base64-0.11) + ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)))))) + (define-public rust-salsa20-0.10 (package (name "rust-salsa20") |