[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49383] [PATCH v2 24/26] gnu: Add rust-rust-decimal-1
From: |
Domagoj Stolfa |
Subject: |
[bug#49383] [PATCH v2 24/26] gnu: Add rust-rust-decimal-1 |
Date: |
Sun, 11 Jul 2021 15:55:56 +0100 |
* gnu/packages/crates-io.scm (rust-rust-decimal-1): New public variable.
---
gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++------
1 file changed, 44 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0e7384051a..7f68e4e4eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37925,8 +37925,51 @@ password hashing function.")
Currently the conversion uses the Bitcoin base58 alphabet.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-rust-decimal-1
+ (package
+ (name "rust-rust-decimal")
+ (version "1.14.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-decimal" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10k58hf367626d4akl7ifyk5qwqphfs5x6z1yay22pkyc6w7q4h1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-diesel" ,rust-diesel-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-postgres" ,rust-postgres-0.19)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tokio-postgres" ,rust-tokio-postgres-0.7))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/paupino/rust-decimal")
+ (synopsis "Decimal implementation suitable for financial calculations")
+ (description
+ "This package provides a decimal implementation written in pure Rust
+suitable for financial calculations.")
+ (license license:expat)))
+
(define-public rust-rust-decimal-0.10
(package
+ (inherit rust-rust-decimal-1)
(name "rust-rust-decimal")
(version "0.10.2")
(source
@@ -37944,13 +37987,7 @@ password hashing function.")
("rust-lazy-static" ,rust-lazy-static-1)
("rust-num" ,rust-num-0.2)
("rust-postgres" ,rust-postgres-0.15)
- ("rust-serde" ,rust-serde-1))))
- (home-page "https://github.com/paupino/rust-decimal")
- (synopsis "Decimal implementation suitable for financial calculations")
- (description
- "This package provides a decimal implementation written in pure Rust
-suitable for financial calculations.")
- (license license:expat)))
+ ("rust-serde" ,rust-serde-1))))))
(define-public rust-rust-embed-5
(package
--
2.32.0
- [bug#49383] [PATCH v2 08/26] gnu: rust-ctr-0.6: Use rust-cipher-0.3., (continued)
- [bug#49383] [PATCH v2 08/26] gnu: rust-ctr-0.6: Use rust-cipher-0.3., Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 10/26] gnu: rust-win-crypto-ng-0.4: Use rust-cipher-0.3., Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 16/26] gnu: Add rust-eui48-0.4, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 17/26] gnu: Add rust-rstar-0.8, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 18/26] gnu: Add rust-geo-types-0.6, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 21/26] gnu: Add rust-tokio-postgres-0.7, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 23/26] gnu: Add rust-statistical-1, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 15/26] gnu: Add rust-postgres-protocol-0.6, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 24/26] gnu: Add rust-rust-decimal-1,
Domagoj Stolfa <=
- [bug#49383] [PATCH v2 25/26] gnu: Add rust-colored-2, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 19/26] gnu: Add rust-postgres-types-0.2, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 26/26] gnu: Add hyperfine., Domagoj Stolfa, 2021/07/11
- bug#49383: [PATCH v2 00/26] Addressing comments, Efraim Flashner, 2021/07/13