diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-15 13:30:14 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-16 12:52:41 +0200 |
commit | 9b4ad2f44c1435508c010ac288c7e43e90b83c48 (patch) | |
tree | f8ea2824fad86bfef11a97a6de58bf7d04978471 /gnu/packages/crates-io.scm | |
parent | fa071844d901ee926eb48f481840a089ae255ad0 (diff) | |
download | guix-9b4ad2f44c1435508c010ac288c7e43e90b83c48.tar guix-9b4ad2f44c1435508c010ac288c7e43e90b83c48.tar.gz |
gnu: Add rust-num-bigint-0.4.
* gnu/packages/crates-io.scm (rust-num-bigint-0.4): New variable.
(rust-num-bigint-0.3): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9ae5485f09..34a0bd971c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28148,27 +28148,27 @@ including bigint, complex, rational, range iterators, generic integers, and more ("rust-num-rational" ,rust-num-rational-0.1) ("rust-num-traits" ,rust-num-traits-0.2)))))) -(define-public rust-num-bigint-0.3 +(define-public rust-num-bigint-0.4 (package (name "rust-num-bigint") - (version "0.3.1") + (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "num-bigint" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gq7cpvmzk5jixzr26fbjfayiigzh4p4vyyzbb73yqz4g9s436jy")))) + (base32 "04k5xh7d0nxay4yfb02rj841y9g5jh45d320avi53ak221y083af")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-arbitrary" ,rust-arbitrary-0.4) + (("rust-arbitrary" ,rust-arbitrary-1) ("rust-autocfg" ,rust-autocfg-1) ("rust-num-integer" ,rust-num-integer-0.1) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-rand" ,rust-rand-0.7) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) ("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/rust-num/num-bigint") (synopsis "Big integer implementation for Rust") @@ -28176,6 +28176,29 @@ including bigint, complex, rational, range iterators, generic integers, and more "This package provides a big integer implementation for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-num-bigint-0.3 + (package + (inherit rust-num-bigint-0.4) + (name "rust-num-bigint") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-bigint" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gq7cpvmzk5jixzr26fbjfayiigzh4p4vyyzbb73yqz4g9s436jy")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-0.4) + ("rust-autocfg" ,rust-autocfg-1) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7) + ("rust-serde" ,rust-serde-1)))))) + (define-public rust-num-bigint-0.2 (package (inherit rust-num-bigint-0.3) |