diff options
author | Attila Lendvai <attila@lendvai.name> | 2022-01-20 22:18:45 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-28 01:10:59 +0100 |
commit | 4ffcb64f9ab9bf4bd3727359208236a330644d18 (patch) | |
tree | 78114da03e6584759a64240ab7c16f08ac48dc78 | |
parent | b8b98aacce80deb0061561a6a0950dbd2c44f712 (diff) | |
download | guix-4ffcb64f9ab9bf4bd3727359208236a330644d18.tar.gz |
gnu: Add rust-uint-0.9.
* gnu/packages/crates-io.scm (rust-uint-0.9): New variable. (rust-uint-0.4): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 39 |
1 files changed, 33 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 39c6f97cb5..4dd8b9d4e8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -66064,8 +66064,40 @@ panic-free alternative to @code{core::fmt}.") (description "This package provides @code{μfmt}'s @code{uWrite} trait.") (license (list license:expat license:asl2.0)))) +(define-public rust-uint-0.9 + (package + (name "rust-uint") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "uint" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pys10znj928lijvsq2rvnzns90a91j7199pl2afigc2yi8anw34")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-crunchy" ,rust-crunchy-0.2) + ("rust-hex" ,rust-hex-0.4) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7) + ("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-rug" ,rust-rug-1)))) + (home-page "http://parity.io") + (synopsis "Large, fixed-size integer arithmetic in Rust") + (description "This package is a Rust library for large, fixed-size integer +arithmetic.") + (license (list license:expat license:asl2.0)))) + (define-public rust-uint-0.4 (package + (inherit rust-uint-0.9) (name "rust-uint") (version "0.4.1") (source @@ -66075,7 +66107,6 @@ panic-free alternative to @code{core::fmt}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0il6x59h605mmm10qxig066khxaygqcyb60pqja1n5mr68bs2jvm")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; The tests fail. Due to rustc version? #:cargo-inputs @@ -66086,11 +66117,7 @@ panic-free alternative to @code{core::fmt}.") ("rust-rustc-hex" ,rust-rustc-hex-2)) #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.6) - ("rust-rustc-hex" ,rust-rustc-hex-2)))) - (home-page "http://parity.io") - (synopsis "Large fixed-size integer arithmetic") - (description synopsis) - (license (list license:expat license:asl2.0)))) + ("rust-rustc-hex" ,rust-rustc-hex-2)))))) (define-public rust-umask-1 (package |