[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
201/281: gnu: Add rust-sha1-0.10.
From: |
guix-commits |
Subject: |
201/281: gnu: Add rust-sha1-0.10. |
Date: |
Wed, 22 Feb 2023 05:41:19 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 5df58fb8655df929f968689a9690251fe38da37f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 11:39:49 2023 +0200
gnu: Add rust-sha1-0.10.
* gnu/packages/crates-io.scm (rust-sha1-0.10): New variable.
(rust-sha1-0.6): Inherit from rust-sha1-0.10.
---
gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e226c040d1..9c689aa352 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53892,8 +53892,37 @@ functionality and without weak references.")
(("rust-digest" ,rust-digest-0.8)
("rust-hex-literal" ,rust-hex-literal-0.1))))))
+(define-public rust-sha1-0.10
+ (package
+ (name "rust-sha1")
+ (version "0.10.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha1" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18zb80sxn31kxdpl1ly6w17hkrvyf08zbxnpy8ckb6f3h3f96hph"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-sha1-asm" ,rust-sha1-asm-0.5))
+ #:cargo-development-inputs
+ (("rust-digest" ,rust-digest-0.10)
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))
+ (home-page "https://github.com/mitsuhiko/rust-sha1")
+ (synopsis "Minimal implementation of SHA1 for Rust")
+ (description
+ "This package provides a ,inimal implementation of SHA1 for Rust.")
+ (license license:bsd-3)))
+
(define-public rust-sha1-0.6
(package
+ (inherit rust-sha1-0.10)
(name "rust-sha1")
(version "0.6.0")
(source
@@ -53905,7 +53934,6 @@ functionality and without weak references.")
(sha256
(base32
"03gs2q4m67rn2p8xcdfxhip6mpgahdwm12bnb3vh90ahv9grhy95"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -53913,12 +53941,7 @@ functionality and without weak references.")
#:cargo-development-inputs
(("rust-openssl" ,rust-openssl-0.10)
("rust-rand" ,rust-rand-0.4)
- ("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://github.com/mitsuhiko/rust-sha1")
- (synopsis "Minimal implementation of SHA1 for Rust")
- (description
- "Minimal implementation of SHA1 for Rust.")
- (license license:bsd-3)))
+ ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-sha1-0.2
(package
- 166/281: gnu: Add rust-ctr-0.9., (continued)
- 166/281: gnu: Add rust-ctr-0.9., guix-commits, 2023/02/22
- 171/281: gnu: Add rust-env-logger-0.10., guix-commits, 2023/02/22
- 179/281: gnu: rust-h2-0.3: Update to 0.3.15., guix-commits, 2023/02/22
- 183/281: gnu: Add rust-iana-time-zone-haiku-0.1., guix-commits, 2023/02/22
- 186/281: gnu: Add rust-libtest-mimic-0.6., guix-commits, 2023/02/22
- 188/281: gnu: rust-macrotest-1: Update to 1.0.9., guix-commits, 2023/02/22
- 189/281: gnu: Add rust-miow-0.5., guix-commits, 2023/02/22
- 190/281: gnu: rust-native-tls-0.2: Update to 0.2.11., guix-commits, 2023/02/22
- 197/281: gnu: rust-rustls-0.20: Update to 0.20.8., guix-commits, 2023/02/22
- 199/281: gnu: rust-rkyv-derive-0.7: Remove commented argument., guix-commits, 2023/02/22
- 201/281: gnu: Add rust-sha1-0.10.,
guix-commits <=
- 205/281: gnu: Add rust-test-cert-gen-0.7., guix-commits, 2023/02/22
- 206/281: gnu: rust-time-0.3: Update to 0.3.19., guix-commits, 2023/02/22
- 207/281: gnu: rust-time-macros-0.2: Update to 0.2.7., guix-commits, 2023/02/22
- 212/281: gnu: Add rust-toml-test-data-1., guix-commits, 2023/02/22
- 215/281: gnu: Add rust-trust-dns-resolver-0.22., guix-commits, 2023/02/22
- 217/281: gnu: Add rust-universal-hash-0.5., guix-commits, 2023/02/22
- 219/281: gnu: rust-zeroize-1: Update to 1.5.7., guix-commits, 2023/02/22
- 220/281: gnu: Add rust-zeroize-1.4., guix-commits, 2023/02/22
- 225/281: gnu: rust-futures-core-0.3: Update to 0.3.26., guix-commits, 2023/02/22
- 227/281: gnu: Add rust-windows-targets-0.42., guix-commits, 2023/02/22