[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50995] [PATCH] gnu: Add rust-sha3.
From: |
phodina |
Subject: |
[bug#50995] [PATCH] gnu: Add rust-sha3. |
Date: |
Sun, 03 Oct 2021 16:38:16 +0000 |
* gnu/packages/crates-io.scm (rust-sha3): New variable.
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 48a05fb8be..d6cdc8a7a2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44713,6 +44713,33 @@ functions core functionality.")
(("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")
--
2.32.0
- [bug#50995] [PATCH] gnu: Add rust-sha3.,
phodina <=