diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-31 17:00:22 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:46:02 +0300 |
commit | c0b2afabf0aaba83c0c76e319c6175b159d704b4 (patch) | |
tree | 9e30c9a2b08364f07804015c76d362e032154fec /gnu/packages/crates-crypto.scm | |
parent | 4581d879d305f701921c295160f5275e9eadafb5 (diff) | |
download | guix-c0b2afabf0aaba83c0c76e319c6175b159d704b4.tar.gz guix-c0b2afabf0aaba83c0c76e319c6175b159d704b4.zip |
gnu: Add rust-dsa-0.6.
* gnu/packages/crates-crypto.scm (rust-dsa-0.6): New variable.
Change-Id: If7759e068fc50eadf709f1a033d56f01b9a7f996
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r-- | gnu/packages/crates-crypto.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 15c777f06a..29c489a2f2 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -2088,6 +2088,41 @@ ciphers implementations.") functions.") (license (list license:expat license:asl2.0)))) +(define-public rust-dsa-0.6 + (package + (name "rust-dsa") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "dsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12bn5d0nnni4mlla24m3bwi4mhy2nfmyak2qjl0pdbc4j1525g28")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-digest" ,rust-digest-0.10) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-rfc6979" ,rust-rfc6979-0.4) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signature" ,rust-signature-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-sha1" ,rust-sha1-0.10)))) + (home-page "https://github.com/RustCrypto/signatures/tree/master/dsa") + (synopsis + "Rust implementation of the Digital Signature Algorithm (DSA)") + (description + "This package provides a pure Rust implementation of the @acronym{Digital +Signature Algorithm, DSA} as specified in FIPS 186-4 (Digital Signature +Standard), providing RFC6979 deterministic signatures as well as support for +added entropy.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-eax-0.5 (package (name "rust-eax") |