summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-18 23:30:05 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-19 22:33:23 +0200
commit9acfbaf39d09557848593284fb1bbaf5a55d695c (patch)
tree26cfccfbbd99b3a231646d19f27d158887d4912b
parent85cb4da813f25ebaac112d9f3e9c26f4b64dd985 (diff)
downloadpatches-9acfbaf39d09557848593284fb1bbaf5a55d695c.tar
patches-9acfbaf39d09557848593284fb1bbaf5a55d695c.tar.gz
gnu: Add rust-num-bigint-0.1.
* gnu/packages/crates-io.scm (rust-num-bigint-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a3c424c4a..1075c14617 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10758,6 +10758,30 @@ including bigint, complex, rational, range iterators, generic integers, and more
"Big integer implementation for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-num-bigint-0.1
+ (package
+ (inherit rust-num-bigint-0.2)
+ (name "rust-num-bigint")
+ (version "0.1.44")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "num-bigint" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hg80xd7vd5yqzks1h0zk2fcgqnf84m2cdj9q4cffk581nnrjf76"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-serde" ,rust-serde-0.8))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.4))))))
+
(define-public rust-num-complex-0.2
(package
(name "rust-num-complex")