diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-31 14:58:04 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:45:58 +0300 |
commit | 2252cd45f51f7c6cfa9cdeda1da5a0a488c1f45d (patch) | |
tree | 9e0ee70daae638ad0b4e0315f3ac4e50eed36112 /gnu/packages/crates-crypto.scm | |
parent | 75080615ff4a9d3147fdd8493b4757317160a94d (diff) | |
download | guix-2252cd45f51f7c6cfa9cdeda1da5a0a488c1f45d.tar.gz guix-2252cd45f51f7c6cfa9cdeda1da5a0a488c1f45d.zip |
gnu: Add rust-sm3-0.4.
* gnu/packages/crates-crypto.scm (rust-sm3-0.4): New variable.
Change-Id: I743221712b27ad7caf15df72be5851b4b98583a8
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r-- | gnu/packages/crates-crypto.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 8af564acfd..71b98df7ba 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -5920,6 +5920,28 @@ for additional details.") "This package provides a simple DER/ASN.1 encoding/decoding library.") (license license:isc))) +(define-public rust-sm3-0.4 + (package + (name "rust-sm3") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sm3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q2qn4d7qhd8v5grr0xdq9jv3likcr2i8nnqqhxy79yh0avs7fgb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-digest" ,rust-digest-0.10)) + #:cargo-development-inputs (("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "SM3 (OSCCA GM/T 0004-2012) hash function") + (description + "This package provides the SM3 (OSCCA GM/T 0004-2012) hash function.") + (license (list license:expat license:asl2.0)))) + (define-public rust-spki-0.7 (package (name "rust-spki") |