[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
82/295: gnu: Add rust-sha2-0.9.
From: |
guix-commits |
Subject: |
82/295: gnu: Add rust-sha2-0.9. |
Date: |
Mon, 27 Jul 2020 06:25:31 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit e2ea9fcf4374af5e33cf10a1236a8ca2337544dc
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jun 28 14:40:39 2020 +0300
gnu: Add rust-sha2-0.9.
* gnu/packages/crates-io.scm (rust-sha2-0.9): New variable.
(rust-sha2-0.8): Inherit from rust-sha2-0.9.
---
gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++++++++------
1 file changed, 35 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a4c308..8a97fd6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21499,8 +21499,42 @@ for the serde framework.")
"Assembly implementation of SHA-1 compression function.")
(license license:expat)))
+(define-public rust-sha2-0.9
+ (package
+ (name "rust-sha2")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hdqrx2d9073hgf34y6ilgw6ni5vv3d5nmccyhkfm9zdvy6kfcr9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-block-buffer" ,rust-block-buffer-0.9)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-cpuid-bool" ,rust-cpuid-bool-0.1)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.3)
+ ("rust-sha2-asm" ,rust-sha2-asm-0.5))
+ #: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-2 hash functions")
+ (description
+ "This package provides a pure Rust implementation of the SHA-2 hash
+function family including SHA-224, SHA-256, SHA-384, and SHA-512.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-sha2-0.8
(package
+ (inherit rust-sha2-0.9)
(name "rust-sha2")
(version "0.8.1")
(source
@@ -21510,7 +21544,6 @@ for the serde framework.")
(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)
@@ -21522,11 +21555,7 @@ for the serde framework.")
#: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))))
+ ("rust-hex-literal" ,rust-hex-literal-0.1))))))
(define-public rust-sha2-asm-0.5
(package
- 23/295: gnu: Add r-shapforxgboost., (continued)
- 23/295: gnu: Add r-shapforxgboost., guix-commits, 2020/07/27
- 28/295: daemon: Map directly to gcrypt hash functions., guix-commits, 2020/07/27
- 29/295: daemon: Remove OpenSSL hash compatibility wrappers., guix-commits, 2020/07/27
- 31/295: packages: Recognize SHA3 and BLAKE2s for 'content-hash'., guix-commits, 2020/07/27
- 32/295: gnu: libtiff: Use HTTPS., guix-commits, 2020/07/27
- 33/295: gnu: lxqt: Update to 0.15.0., guix-commits, 2020/07/27
- 39/295: gnu: r-renv: Update to 0.11.0., guix-commits, 2020/07/27
- 41/295: gnu: r-officer: Update to 0.3.12., guix-commits, 2020/07/27
- 43/295: gnu: r-raster: Update to 3.3-7., guix-commits, 2020/07/27
- 44/295: gnu: r-emmeans: Update to 1.4.8., guix-commits, 2020/07/27
- 82/295: gnu: Add rust-sha2-0.9.,
guix-commits <=
- 93/295: gnu: Rename rust-unicase-2.6 to rust-unicase-2., guix-commits, 2020/07/27
- 69/295: gnu: rust-block-padding-0.1: Don't skip build., guix-commits, 2020/07/27
- 67/295: gnu: Add rust-cpuid-bool-0.1., guix-commits, 2020/07/27
- 76/295: gnu: rust-block-buffer-0.7: Don't skip build., guix-commits, 2020/07/27
- 83/295: gnu: rust-sha2-0.8: Update to 0.8.2., guix-commits, 2020/07/27
- 84/295: gnu: rust-sha2-asm-0.5: Update to 0.5.4., guix-commits, 2020/07/27
- 88/295: gnu: Add rust-minisign., guix-commits, 2020/07/27
- 92/295: gnu: Remove rust-unicase-2.4., guix-commits, 2020/07/27
- 100/295: gnu: Remove rust-rustc-hash-1.0., guix-commits, 2020/07/27
- 101/295: gnu: Add emacs-libyaml., guix-commits, 2020/07/27