[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40874] [PATCH 70/94] gnu: Add rust-sha2-0.8.
From: |
Hartmut Goebel |
Subject: |
[bug#40874] [PATCH 70/94] gnu: Add rust-sha2-0.8. |
Date: |
Sun, 26 Apr 2020 18:45:49 +0200 |
* gnu/packages/crates-io.scm (rust-sha2-0.8): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d167042a0..ab7eb82fc3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18381,6 +18381,35 @@ for the serde framework.")
"Assembly implementation of SHA-1 compression function.")
(license license:expat)))
+(define-public rust-sha2-0.8
+ (package
+ (name "rust-sha2")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1827pplynq0ahxid1xq281kiv56kj2afp7gm97v7gw71sbgll117"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-block-buffer" ,rust-block-buffer-0.7)
+ ("rust-digest" ,rust-digest-0.8)
+ ("rust-fake-simd" ,rust-fake-simd-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.2)
+ ("rust-sha2-asm" ,rust-sha2-asm-0.5))
+ #:cargo-development-inputs
+ (("rust-cc" ,rust-cc-1.0) ;; FIXME for rust-sha2-asm, why again?
+ ("rust-digest" ,rust-digest-0.8)
+ ("rust-hex-literal" ,rust-hex-literal-0.1))))
+ (home-page "https://github.com/RustCrypto/hashes")
+ (synopsis "SHA-2 hash functions")
+ (description "SHA-2 hash functions")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-sha2-asm-0.5
(package
(name "rust-sha2-asm")
--
2.21.3
- [bug#40874] [PATCH 61/94] gnu: Add rust-ring-0.13., (continued)
- [bug#40874] [PATCH 61/94] gnu: Add rust-ring-0.13., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 60/94] gnu: Add rust-ring-0.16., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 64/94] gnu: Add rust-rusqlite-0.19., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 63/94] gnu: Add rust-rspec-1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 66/94] gnu: Add rust-rustls-0.12., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 67/94] gnu: Add rust-sct-0.6., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 69/94] gnu: Add rust-sha2-asm-0.5., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 62/94] gnu: Add rust-rpassword-4., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 65/94] gnu: Add rust-rustls-0.16., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 68/94] gnu: Add rust-sct-0.3., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 70/94] gnu: Add rust-sha2-0.8.,
Hartmut Goebel <=
- [bug#40874] [PATCH 71/94] gnu: Add rust-skeptic-0.9., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 72/94] gnu: Add rust-spmc-0.3., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 73/94] gnu: Add rust-string-0.2., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 74/94] gnu: Add rust-term-0.2., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 76/94] gnu: Add rust-tokio-buf-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 75/94] gnu: Add rust-tokio-0.2., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 77/94] gnu: Add rust-tokio-macros-0.2., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 78/94] gnu: Add rust-tokio-named-pipes-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 79/94] gnu: Add rust-tokio-mockstream-1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 81/94] gnu: Add rust-tokio-test-0.2., Hartmut Goebel, 2020/04/26