diff options
author | Domagoj Stolfa <domagoj.stolfa@gmail.com> | 2021-07-11 15:55:45 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-07-13 15:14:15 +0300 |
commit | 8704eccea40a04299227b4a904f101fee0d9e254 (patch) | |
tree | c11e408474a0a60ab0e47416b2ffd8835fcef85b | |
parent | 83d342a26d640bb8b57fe23f9d6015220c2428a4 (diff) | |
download | guix-8704eccea40a04299227b4a904f101fee0d9e254.tar.gz |
gnu: Add rust-hmac-0.11.
* gnu/packages/crates-io.scm (rust-hmac-0.11): New variable. (rust-hmac-0.8): Inherit from rust-hmac-0.11. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 82b1c3d8de..9938c2a9e2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20244,10 +20244,10 @@ Derivation Function (HKDF).") (("rust-digest" ,rust-digest-0.8) ("rust-hmac" ,rust-hmac-0.7)))))) -(define-public rust-hmac-0.8 +(define-public rust-hmac-0.11 (package (name "rust-hmac") - (version "0.8.1") + (version "0.11.0") (source (origin (method url-fetch) @@ -20256,16 +20256,17 @@ Derivation Function (HKDF).") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) + "16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.8) + (("rust-crypto-mac" ,rust-crypto-mac-0.11) ("rust-digest" ,rust-digest-0.9)) #:cargo-development-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.8) + (("rust-crypto-mac" ,rust-crypto-mac-0.11) ("rust-md-5" ,rust-md-5-0.9) - ("rust-sha2" ,rust-sha2-0.9)))) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-streebog" ,rust-streebog-0.9)))) (home-page "https://github.com/RustCrypto/MACs") (synopsis "Generic implementation of Hash-based Message Authentication Code") (description @@ -20273,6 +20274,29 @@ Derivation Function (HKDF).") Hash-based Message Authentication Code}.") (license (list license:expat license:asl2.0)))) +(define-public rust-hmac-0.8 + (package + (inherit rust-hmac-0.11) + (name "rust-hmac") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.8) + ("rust-digest" ,rust-digest-0.9)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.8) + ("rust-md-5" ,rust-md-5-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + (define-public rust-hmac-0.7 (package (inherit rust-hmac-0.8) |