[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68312] [PATCH 021/156] gnu: Add rust-bigdecimal-0.4.
From: |
Wilko Meyer |
Subject: |
[bug#68312] [PATCH 021/156] gnu: Add rust-bigdecimal-0.4. |
Date: |
Mon, 8 Jan 2024 02:51:58 +0100 |
* gnu/packages/crates-io.scm (rust-bigdecimal-0.4): New variable.
(rust-bigdecimal-0.3): Inherit from rust-bigdecimal-0.4.
Change-Id: Iefab5cac0bf8ab04d3fcdd376fa8e330c42a733c
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af585f389a3..f5f49ea9dd1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6240,8 +6240,34 @@ (define-public rust-bencher-0.1
(license (list license:asl2.0
license:expat))))
+(define-public rust-bigdecimal-0.4
+ (package
+ (name "rust-bigdecimal")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bigdecimal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jcbzgna6292vgq0slw5iah929wl0xbps22zr63bp99y8az1jrn0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)
+ ("rust-libm" ,rust-libm-0.2)
+ ("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.3
(package
+ (inherit rust-bigdecimal-0.4)
(name "rust-bigdecimal")
(version "0.3.0")
(source
@@ -6251,18 +6277,13 @@ (define-public rust-bigdecimal-0.3
(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))))
+ ("rust-serde" ,rust-serde-1))))))
(define-public rust-bigdecimal-0.2
(package
--
2.41.0
- [bug#68312] [PATCH 042/156] gnu: Add rust-devise-codegen-0.4., (continued)
- [bug#68312] [PATCH 042/156] gnu: Add rust-devise-codegen-0.4., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 017/156] gnu: Add rust-axum-core-0.3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 048/156] gnu: Add rust-dlv-list-0.3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 041/156] gnu: Add rust-devise-0.4., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 049/156] gnu: Add rust-ecdsa-0.14., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 019/156] gnu: Add rust-axum-macros-0.3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 050/156] gnu: Add rust-ed25519-2., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 029/156] gnu: Add rust-config-0.13., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 056/156] gnu: Add rust-fiat-crypto-0.2., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 031/156] gnu: Add rust-ubyte-0.10., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 021/156] gnu: Add rust-bigdecimal-0.4.,
Wilko Meyer <=
- [bug#68312] [PATCH 053/156] gnu: Add rust-ff-derive-0.12., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 024/156] gnu: Add rust-borsh-1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 055/156] gnu: Add rust-figment-0.10., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 025/156] gnu: Add rust-borsh-derive-1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 057/156] gnu: Add rust-finl-unicode-1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 033/156] gnu: Add rust-crypto-bigint-0.4., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 061/156] gnu: Add rust-http-range-header-0.3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 067/156] gnu: Add rust-ipnetwork-0.20., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 027/156] gnu: Add rust-cint-0.3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 052/156] gnu: Add rust-elliptic-curve-0.12., Wilko Meyer, 2024/01/07