guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: Add rust-bigdecimal-0.1.


From: guix-commits
Subject: 01/03: gnu: Add rust-bigdecimal-0.1.
Date: Fri, 12 Mar 2021 20:09:01 -0500 (EST)

lle_bout pushed a commit to branch master
in repository guix.

commit 62b1ae7444ebe216905e0cec0e0ae8ea8454775b
Author: Léo Le Bouter <lle-bout@zaclys.net>
AuthorDate: Sat Mar 13 01:50:57 2021 +0100

    gnu: Add rust-bigdecimal-0.1.
    
    * gnu/packages/crates-io.scm (rust-bigdecimal-0.1): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e1628bf..d94b9bd 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]