aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-17 23:06:04 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:20 -0500
commit1a792e5cd0bf40e2780cf9b1882be98790af53e5 (patch)
treefa98e06b11324f8ea6f26cd60b82402be995ac02
parent88be977f834a628726223594cc2261695f467a95 (diff)
downloadguix-1a792e5cd0bf40e2780cf9b1882be98790af53e5.tar
guix-1a792e5cd0bf40e2780cf9b1882be98790af53e5.tar.gz
gnu: Add rust-bigdecimal-0.3.
* gnu/packages/crates-io.scm (rust-bigdecimal-0.3): New variable.
-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