[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/472: gnu: Add rust-sha3-0.10.
From: |
guix-commits |
Subject: |
40/472: gnu: Add rust-sha3-0.10. |
Date: |
Tue, 18 Jul 2023 14:08:00 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 256222a123241d368ffafa6687fdd467590a4639
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:14:16 2023 +0300
gnu: Add rust-sha3-0.10.
* gnu/packages/crates-io.scm (rust-sha3-0.10): New variable.
(rust-sha3-0.9): Inherit from rust-sha3-0.10.
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f51b21f2f..00528d7705 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57220,8 +57220,34 @@ functions core functionality.")
(sha256
(base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj"))))))
+(define-public rust-sha3-0.10
+ (package
+ (name "rust-sha3")
+ (version "0.10.8")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "sha3" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0q5s3qlwnk8d5j34jya98j1v2p3009wdmnqdza3yydwgi8kjv1vm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-digest" ,rust-digest-0.10)
+ ("rust-keccak" ,rust-keccak-0.1))
+ #: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 "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-sha3-0.9
(package
+ (inherit rust-sha3-0.10)
(name "rust-sha3")
(version "0.9.1")
(source
@@ -57231,7 +57257,6 @@ functions core functionality.")
(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)
@@ -57240,12 +57265,7 @@ functions core functionality.")
("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))))
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-shadow-rs-0.8
(package
- 27/472: gnu: Add rust-pem-rfc7468-0.7., (continued)
- 27/472: gnu: Add rust-pem-rfc7468-0.7., guix-commits, 2023/07/18
- 30/472: gnu: Add rust-phf-generator-0.11., guix-commits, 2023/07/18
- 32/472: gnu: Add rust-phf-shared-0.11., guix-commits, 2023/07/18
- 34/472: gnu: Add rust-pkcs5-0.7., guix-commits, 2023/07/18
- 31/472: gnu: Add rust-phf-macros-0.11., guix-commits, 2023/07/18
- 33/472: gnu: Add rust-pkcs8-0.10., guix-commits, 2023/07/18
- 38/472: gnu: Add rust-salsa20-0.10., guix-commits, 2023/07/18
- 45/472: gnu: rust-tempfile-3: Update to 3.5.0., guix-commits, 2023/07/18
- 41/472: gnu: Add rust-signature-derive-2., guix-commits, 2023/07/18
- 42/472: gnu: Add rust-signature-2., guix-commits, 2023/07/18
- 40/472: gnu: Add rust-sha3-0.10.,
guix-commits <=
- 52/472: gnu: Add rust-windows-x86-64-gnu-0.48., guix-commits, 2023/07/18
- 48/472: gnu: Add rust-windows-i686-gnu-0.48., guix-commits, 2023/07/18
- 49/472: gnu: Add rust-windows-i686-msvc-0.48., guix-commits, 2023/07/18
- 55/472: gnu: Add rust-x86-0.52., guix-commits, 2023/07/18
- 54/472: gnu: Add rust-windows-x86-64-msvc-0.48., guix-commits, 2023/07/18
- 63/472: gnu: Add rust-scrypt-0.10., guix-commits, 2023/07/18
- 65/472: gnu: Add rust-primeorder-0.13., guix-commits, 2023/07/18
- 70/472: gnu: Add rust-phf-generator-0.9., guix-commits, 2023/07/18
- 67/472: gnu: Add rust-pkcs5-0.5., guix-commits, 2023/07/18
- 72/472: gnu: Add rust-phf-0.9., guix-commits, 2023/07/18