aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 26 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b1f16b4b3..fa2a7ef040 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5006,8 +5006,33 @@ and no more (caveat: black_box is still missing!).")
tracebacks.")
(license (list license:expat license:asl2.0))))
+(define-public rust-bigdecimal-0.3
+ (package
+ (name "rust-bigdecimal")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bigdecimal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i1px8hk4l71n307c7h7igrdy37pzpm7dcni269gwab438ak7bva"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/akubera/bigdecimal-rs")
+ (synopsis "Arbitrary precision decimal numbers")
+ (description "This package provides arbitrary precision decimal numbers.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-bigdecimal-0.2
(package
+ (inherit rust-bigdecimal-0.3)
(name "rust-bigdecimal")
(version "0.2.0")
(source
@@ -5018,7 +5043,6 @@ tracebacks.")
(sha256
(base32
"0fd5chyy76y4qb043w1bbgz1v22f9hw5703f5r90ac5hwqk3qh6c"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-num-bigint" ,rust-num-bigint-0.3)
@@ -5026,11 +5050,7 @@ tracebacks.")
("rust-num-traits" ,rust-num-traits-0.2)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
- (("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://github.com/akubera/bigdecimal-rs")
- (synopsis "Arbitrary precision decimal numbers")
- (description "This package provides arbitrary precision decimal numbers.")
- (license (list license:expat license:asl2.0))))
+ (("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-bigdecimal-0.1
(package