summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 19:59:49 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-23 22:23:11 +0200
commit881bb7335519ed05c19977784b6073753eeb84ad (patch)
treeb61401857c5d0862a64cf6347634bd85644fcfc6
parent69ecc4495be9276322950692a325d04f16fe0f72 (diff)
gnu: Add rust-num-bigint-0.2.
* gnu/packages/crates-io.scm (rust-num-bigint-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 71aabaa466..6ecac751f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8641,6 +8641,37 @@ combinators library.")
;; This is an ancient version and all inputs are optional.
`(#:skip-build? #t))))
+(define-public rust-num-bigint-0.2
+ (package
+ (name "rust-num-bigint")
+ (version "0.2.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "num-bigint" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "015k3wixdi4w698sappvy43pf8bvkw0f88xplmdgc3zfk2cpy309"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-quickcheck-macros" ,rust-quickcheck-macros-0.8)
+ ("rust-rand" ,rust-rand-0.5)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-autocfg" ,rust-autocfg-1.0))
+ #:cargo-development-inputs
+ (("rust-serde-test" ,rust-serde-test-1.0))))
+ (home-page "https://github.com/rust-num/num-bigint")
+ (synopsis "Big integer implementation for Rust")
+ (description
+ "Big integer implementation for Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-num-complex-0.2
(package
(name "rust-num-complex")