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>
This commit is contained in:
Attila Lendvai 2022-01-20 22:18:45 +01:00 committed by Nicolas Goaziou
parent b8b98aacce
commit 4ffcb64f9a
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -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