[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/46: gnu: Add rust-fixed-hash-0.7, rust-fixed-hash-0.2.
From: |
guix-commits |
Subject: |
22/46: gnu: Add rust-fixed-hash-0.7, rust-fixed-hash-0.2. |
Date: |
Thu, 27 Jan 2022 19:12:48 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 4e333ddc0bf84f3f837e13f193d9ec6a5d3faa7d
Author: Attila Lendvai <attila@lendvai.name>
AuthorDate: Wed Jan 19 16:51:39 2022 +0100
gnu: Add rust-fixed-hash-0.7, rust-fixed-hash-0.2.
* gnu/packages/crates-io.scm (rust-fixed-hash-0.7): New variable.
(rust-fixed-hash-0.2): New variable. Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/crates-io.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6b88391ff8..c49aa3928b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21374,6 +21374,60 @@ cross platform API.")
(description "This package provides fixed-point numbers in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-fixed-hash-0.7
+ (package
+ (name "rust-fixed-hash")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fixed-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g29r0zwf09kg70nprn0s444bn6nfsglmiafhl1pm8ajzvbhxkyg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-0.4)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rustc-hex" ,rust-rustc-hex-2)
+ ("rust-static-assertions" ,rust-static-assertions-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.2))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "Macros to define custom fixed-size hash types")
+ (description "This package provides Rust macros to define
+custom fixed-size hash types.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-fixed-hash-0.2
+ (package
+ (inherit rust-fixed-hash-0.7)
+ (name "rust-fixed-hash")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fixed-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wvj52bf37nhg6mv5h235zgdg7nsdarag58mf4i49cdgc3l6rzks"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-heapsize" ,rust-heapsize-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-0.6)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-rustc-hex" ,rust-rustc-hex-2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-uint" ,rust-uint-0.4))))))
+
(define-public rust-fixedbitset-0.4
(package
(name "rust-fixedbitset")
- 35/46: gnu: Add rust-scale-info-1, rust-scale-info-derive-1., (continued)
- 35/46: gnu: Add rust-scale-info-1, rust-scale-info-derive-1., guix-commits, 2022/01/27
- 12/46: gnu: Add rust-core2-0.3., guix-commits, 2022/01/27
- 26/46: gnu: Add rust-parity-crypto-0.9., guix-commits, 2022/01/27
- 34/46: gnu: Add rust-impl-serde-0.3., guix-commits, 2022/01/27
- 09/46: gnu: Add rust-scrypt-0.5., guix-commits, 2022/01/27
- 06/46: gnu: Add rust-password-hash-0.1., guix-commits, 2022/01/27
- 14/46: gnu: Add rust-enumset-1., guix-commits, 2022/01/27
- 18/46: gnu: Add rust-ripemd-0.1., guix-commits, 2022/01/27
- 19/46: gnu: rust-zeroize-1: Update to 1.5.0., guix-commits, 2022/01/27
- 15/46: gnu: Add rust-schemars[-derive]-0.8., guix-commits, 2022/01/27
- 22/46: gnu: Add rust-fixed-hash-0.7, rust-fixed-hash-0.2.,
guix-commits <=
- 25/46: gnu: Add rust-bitvec-0.20., guix-commits, 2022/01/27
- 27/46: gnu: Add rust-parity-scale-codec-2., guix-commits, 2022/01/27
- 28/46: gnu: Add rust-impl-codec-0.5., guix-commits, 2022/01/27
- 37/46: gnu: Add rust-ethbloom-0.5., guix-commits, 2022/01/27
- 33/46: gnu: Add rust-impl-rlp-0.3., guix-commits, 2022/01/27
- 39/46: gnu: Add rust-rlp-0.3., guix-commits, 2022/01/27
- 41/46: gnu: Add rust-gmp-mpfr-sys-1., guix-commits, 2022/01/27
- 44/46: gnu: Add rust-impl-num-traits-0.1., guix-commits, 2022/01/27
- 45/46: gnu: Add rust-ethbloom-0.11., guix-commits, 2022/01/27