GNU bug report logs - #49391
[PATCH 03/21] gnu: Add rust-rust-decimal-1

Previous Next

Package: guix-patches;

Reported by: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>

Date: Sun, 4 Jul 2021 16:33:08 UTC

Severity: normal

Tags: patch

Merged with 49382, 49383, 49384, 49385, 49386, 49387, 49388, 49389, 49390, 49392, 49393, 49394, 49395, 49396, 49397, 49398, 49399, 49400, 49401, 49402, 49403

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH 03/21] gnu: Add rust-rust-decimal-1
Date: Sun,  4 Jul 2021 17:31:45 +0100
* gnu/packages/crates-io.scm (rust-rust-decimal-1): New public variable.
---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 842400c13d..7e0ed9e504 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37357,6 +37357,48 @@ password hashing function.")
 suitable for financial calculations.")
     (license 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
+      `(#: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
+      "A Decimal Implementation written in pure Rust 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-embed-5
   (package
     (name "rust-rust-embed")
-- 
2.32.0





This bug report was last modified 4 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.