diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 17:01:52 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:37:54 +0300 |
commit | 067cfeeeb4d5106699e8117695dd63dc5960e42e (patch) | |
tree | 4a626e94a42644762f1e6654b885a8b55a32f883 /gnu/packages | |
parent | 44fff2f7aade5c43b08ab6745707a3e4bb83ba91 (diff) | |
download | guix-067cfeeeb4d5106699e8117695dd63dc5960e42e.tar.gz |
gnu: Add rust-num-bigint-dig-0.8.
* gnu/packages/crates-io.scm (rust-num-bigint-dig-0.8): New variable. (rust-num-bigint-dig-0.7): Inherit from rust-num-bigint-dig-0.8.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 46 |
1 files changed, 39 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 150cc19b76..0dc66ae1ba 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40235,8 +40235,46 @@ more.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.4)))))) +(define-public rust-num-bigint-dig-0.8 + (package + (name "rust-num-bigint-dig") + (version "0.8.2") + (source (origin + (method url-fetch) + (uri (crate-uri "num-bigint-dig" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01b9lnqkjgwr1fv8jlw8w8y8pf70h2h9panq969r0pxw793ck693")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-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.") + (license (list license:expat license:asl2.0)))) + (define-public rust-num-bigint-dig-0.7 (package + (inherit rust-num-bigint-dig-0.8) (name "rust-num-bigint-dig") (version "0.7.0") (source @@ -40246,7 +40284,6 @@ more.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1004mmipvc7pvaf3kf13i1nqh3vxf789bj72d8wl51y185aywis5")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-0.1) @@ -40265,12 +40302,7 @@ more.") ("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.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-num-complex-0.4 (package |