summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLéo Le Bouter <lle-bout@zaclys.net>2021-03-13 01:50:57 +0100
committerLéo Le Bouter <lle-bout@zaclys.net>2021-03-13 02:04:28 +0100
commit62b1ae7444ebe216905e0cec0e0ae8ea8454775b (patch)
tree3a16b7a26e7a38d63b9ee014e48da71a3bc48af5 /gnu
parentcad4aa667cc89493902aefbae157ddb97f381af2 (diff)
downloadguix-62b1ae7444ebe216905e0cec0e0ae8ea8454775b.tar.gz
gnu: Add rust-bigdecimal-0.1.
* gnu/packages/crates-io.scm (rust-bigdecimal-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e1628bf565..d94b9bd758 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3969,6 +3969,29 @@ tracebacks.")
     (description "This package provides arbitrary precision decimal numbers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-bigdecimal-0.1
+  (package
+    (inherit rust-bigdecimal-0.2)
+    (name "rust-bigdecimal")
+    (version "0.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "bigdecimal" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0i32g88sin9dzr4jn41wgg3pyx2xxm0m1a9s5vh9lpyj5lg1jx0k"))))
+    (arguments
+      `(#:cargo-inputs
+        (("rust-num-bigint" ,rust-num-bigint-0.2)
+         ("rust-num-integer" ,rust-num-integer-0.1)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-bincode-1
   (package
     (name "rust-bincode")