mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Add rust-sm3-0.4.
* gnu/packages/crates-crypto.scm (rust-sm3-0.4): New variable. Change-Id: I743221712b27ad7caf15df72be5851b4b98583a8
This commit is contained in:
parent
75080615ff
commit
2252cd45f5
1 changed files with 22 additions and 0 deletions
|
@ -5920,6 +5920,28 @@ (define-public rust-simple-asn1-0.4
|
||||||
"This package provides a simple DER/ASN.1 encoding/decoding library.")
|
"This package provides a simple DER/ASN.1 encoding/decoding library.")
|
||||||
(license license:isc)))
|
(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
|
(define-public rust-spki-0.7
|
||||||
(package
|
(package
|
||||||
(name "rust-spki")
|
(name "rust-spki")
|
||||||
|
|
Loading…
Reference in a new issue