[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/35: gnu: Add rust-sha-1-0.9.
From: |
guix-commits |
Subject: |
12/35: gnu: Add rust-sha-1-0.9. |
Date: |
Sun, 28 Jun 2020 12:49:45 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 9b4b9c1a3018011d9fc6d12db49f0bf9d34025b9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jun 28 14:29:33 2020 +0300
gnu: Add rust-sha-1-0.9.
* gnu/packages/crates-io.scm (rust-sha-1-0.9): New variable.
(rust-sha-1-0.8): Inherit from rust-sha-1-0.9.
---
gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++++------
1 file changed, 33 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d65d981..ac44dbf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21318,8 +21318,40 @@ for the serde framework.")
"This package provides a Rust wrapper around the FreeType library.")
(license license:mpl2.0))) ; build.rs is mpl2.0
+(define-public rust-sha-1-0.9
+ (package
+ (name "rust-sha-1")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha-1" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0w37j7swjkbzgi9mf7ihkw0zfik6vl97fs6jdpqs6r68hvm3c2hp"))))
+ (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-sha1-asm" ,rust-sha1-asm-0.4))
+ #: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-1 hash function")
+ (description "SHA-1 hash function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-sha-1-0.8
(package
+ (inherit rust-sha-1-0.9)
(name "rust-sha-1")
(version "0.8.1")
(source
@@ -21331,7 +21363,6 @@ for the serde framework.")
(sha256
(base32
"0s6fdy5wp3x4h2z4fcl2d9vjvrpzr87v4h49r51xcq8nm4qj35i3"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -21342,11 +21373,7 @@ for the serde framework.")
("rust-sha1-asm" ,rust-sha1-asm-0.4))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.8)
- ("rust-hex-literal" ,rust-hex-literal-0.2))))
- (home-page "https://github.com/RustCrypto/hashes")
- (synopsis "SHA-1 hash function")
- (description "SHA-1 hash function.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))))
(define-public rust-sha1-0.6
(package
- 08/35: gnu: Add rust-crypto-mac-0.8., (continued)
- 08/35: gnu: Add rust-crypto-mac-0.8., guix-commits, 2020/06/28
- 03/35: gnu: Add rust-block-padding-0.2., guix-commits, 2020/06/28
- 06/35: gnu: Add rust-generic-array-0.14., guix-commits, 2020/06/28
- 05/35: gnu: Add rust-subtle-2., guix-commits, 2020/06/28
- 10/35: gnu: Add rust-block-buffer-0.9., guix-commits, 2020/06/28
- 13/35: gnu: rust-sha1-asm-0.4: Don't skip build., guix-commits, 2020/06/28
- 07/35: gnu: rust-generic-array-0.13: Don't skip build., guix-commits, 2020/06/28
- 04/35: gnu: rust-block-padding-0.1: Don't skip build., guix-commits, 2020/06/28
- 09/35: gnu: Add rust-digest-0.9., guix-commits, 2020/06/28
- 11/35: gnu: rust-block-buffer-0.7: Don't skip build., guix-commits, 2020/06/28
- 12/35: gnu: Add rust-sha-1-0.9.,
guix-commits <=
- 14/35: gnu: rust-sha-1-0.8: Update to 0.8.2., guix-commits, 2020/06/28
- 17/35: gnu: Add rust-sha2-0.9., guix-commits, 2020/06/28
- 18/35: gnu: rust-sha2-0.8: Update to 0.8.2., guix-commits, 2020/06/28
- 22/35: gnu: Add rust-scrypt-0.3., guix-commits, 2020/06/28
- 23/35: gnu: Add rust-minisign., guix-commits, 2020/06/28
- 20/35: gnu: Add rust-hmac-0.8., guix-commits, 2020/06/28
- 21/35: gnu: Add rust-pbdkdf2-0.4., guix-commits, 2020/06/28
- 24/35: gnu; Add go-minisign., guix-commits, 2020/06/28
- 15/35: gnu: Add rust-block-buffer-0.8., guix-commits, 2020/06/28
- 25/35: gnu: Rename rust-typenum-1.10 to rust-typenum-1., guix-commits, 2020/06/28