diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-22 10:58:19 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:01 +0300 |
commit | e1d284e66fce07f1959ee8e806b2579eedb2357e (patch) | |
tree | acc69115efd06b10295afa3169509c4b4c4bbc33 /gnu | |
parent | 2d8c6988d8e34707c5e641f07239f085ca3bf9c2 (diff) | |
download | guix-e1d284e66fce07f1959ee8e806b2579eedb2357e.tar.gz |
gnu: Add rust-hkdf-0.12.
* gnu/packages/crates-io.scm (rust-hkdf-0.12): New variable. (rust-hkdf-0.11): Inherit from rust-hkdf-0.12.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b623c313bc..f97de3bcf2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26554,8 +26554,35 @@ compile time.") `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) +(define-public rust-hkdf-0.12 + (package + (name "rust-hkdf") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "hkdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dyl16cf15hka32hv3l7dwgr3xj3brpfr27iyrbpdhlzdfgh46kr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-hmac" ,rust-hmac-0.12)) + #:cargo-development-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-hex-literal" ,rust-hex-literal-0.2) + ("rust-sha-1" ,rust-sha-1-0.10) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/RustCrypto/KDFs/") + (synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)") + (description "This package provides a HMAC-based Extract-and-Expand Key +Derivation Function (HKDF).") + (license (list license:expat license:asl2.0)))) + (define-public rust-hkdf-0.11 (package + (inherit rust-hkdf-0.12) (name "rust-hkdf") (version "0.11.0") (source @@ -26565,7 +26592,6 @@ compile time.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0sw8bz79xqq3bc5dh6nzv084g7va13j3lrqf91c10a2wimbnsw01")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-digest" ,rust-digest-0.9) @@ -26576,12 +26602,7 @@ compile time.") ("rust-crypto-tests" ,rust-crypto-tests-0.5) ("rust-hex" ,rust-hex-0.4) ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))) - (home-page "https://github.com/RustCrypto/KDFs/") - (synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)") - (description "This package provides a HMAC-based Extract-and-Expand Key -Derivation Function (HKDF).") - (license (list license:expat license:asl2.0)))) + ("rust-sha2" ,rust-sha2-0.9)))))) (define-public rust-hkdf-0.10 (package |