diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2022-01-19 13:13:58 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-19 14:04:49 +0100 |
commit | 0551b541b1df1582e0402a02ebec6214806570f1 (patch) | |
tree | 488a1c375fa50ba370af34c38fbc3110193d0b53 /gnu | |
parent | ec5c6d8a196d0ed71f731d2fd6035d0501efc9a5 (diff) | |
download | guix-0551b541b1df1582e0402a02ebec6214806570f1.tar.gz guix-0551b541b1df1582e0402a02ebec6214806570f1.zip |
gnu: Add rust-num-bigint-dig-0.7.
* gnu/packages/crates-io.scm (rust-num-bigint-dig-0.7): New variable.
(rust-num-bigint-dig-0.6): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 81 |
1 files changed, 56 insertions, 25 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 91958fe28a..58c261dec7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34761,39 +34761,70 @@ more.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.4)))))) -(define-public rust-num-bigint-dig-0.6 +(define-public rust-num-bigint-dig-0.7 (package (name "rust-num-bigint-dig") - (version "0.6.0") + (version "0.7.0") (source - (origin - (method url-fetch) - (uri (crate-uri "num-bigint-dig" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1aljx3bxfnzq35i9pkbqkj0d0hc1wjc2dd60wccjqylz1wrkrl5k")))) + (origin + (method url-fetch) + (uri (crate-uri "num-bigint-dig" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1004mmipvc7pvaf3kf13i1nqh3vxf789bj72d8wl51y185aywis5")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-autocfg" ,rust-autocfg-0.1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libm" ,rust-libm-0.2) - ("rust-num-integer" ,rust-num-integer-0.1) - ("rust-num-iter" ,rust-num-iter-0.1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rand" ,rust-rand-0.7) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page - "https://github.com/dignifiedquire/num-bigint") + `(#:cargo-inputs + (("rust-autocfg" ,rust-autocfg-0.1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libm" ,rust-libm-0.2) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-iter" ,rust-num-iter-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rand-isaac" ,rust-rand-isaac-0.3) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/dignifiedquire/num-bigint") (synopsis "Big integer implementation for Rust") - (description "This package provides a big integer implementation -for Rust") + (description "This package provides a big integer implementation for +Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-num-bigint-dig-0.6 +(package + (inherit rust-num-bigint-dig-0.7) + (name "rust-num-bigint-dig") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-bigint-dig" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1aljx3bxfnzq35i9pkbqkj0d0hc1wjc2dd60wccjqylz1wrkrl5k")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-autocfg" ,rust-autocfg-0.1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libm" ,rust-libm-0.2) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-iter" ,rust-num-iter-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rand" ,rust-rand-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-zeroize" ,rust-zeroize-1)))))) + (define-public rust-num-complex-0.4 (package (name "rust-num-complex") |