gnu: Add rust-sha3.

* gnu/packages/crates-io.scm (rust-sha3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
phodina 2021-10-03 16:38:16 +00:00 committed by Efraim Flashner
parent 51cc90fcbf
commit 6ac237d87b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -44713,6 +44713,33 @@ (define-public rust-sha2-asm-0.3
(("rust-gcc" ,rust-gcc-0.3)
("rust-generic-array" ,rust-generic-array-0.8))))))
(define-public rust-sha3-0.9
(package
(name "rust-sha3")
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sha3" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "02d85wpvz75a0n7r2da15ikqjwzamhii11qy9gqf6pafgm0rj4gq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.9)
("rust-digest" ,rust-digest-0.9)
("rust-keccak" ,rust-keccak-0.1)
("rust-opaque-debug" ,rust-opaque-debug-0.3))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.9)
("rust-hex-literal" ,rust-hex-literal-0.2))))
(home-page "https://github.com/RustCrypto/hashes")
(synopsis "SHA-3 (Keccak) hash function")
(description "This package provides a pure Rust implementation of the SHA-3
(Keccak) hash function.")
(license (list license:expat license:asl2.0))))
(define-public rust-shader-version-0.6
(package
(name "rust-shader-version")