guix-commits
[Top][All Lists]
Advanced

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

16/46: gnu: Add rust-num-bigint-0.1.


From: guix-commits
Subject: 16/46: gnu: Add rust-num-bigint-0.1.
Date: Thu, 19 Mar 2020 16:46:12 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 9acfbaf39d09557848593284fb1bbaf5a55d695c
Author: Efraim Flashner <address@hidden>
AuthorDate: Wed Mar 18 23:30:05 2020 +0200

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a3c424..1075c14 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10758,6 +10758,30 @@ including bigint, complex, rational, range iterators, 
generic integers, and more
      "Big integer implementation for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-num-bigint-0.1
+  (package
+    (inherit rust-num-bigint-0.2)
+    (name "rust-num-bigint")
+    (version "0.1.44")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "num-bigint" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1hg80xd7vd5yqzks1h0zk2fcgqnf84m2cdj9q4cffk581nnrjf76"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-num-integer" ,rust-num-integer-0.1)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-rand" ,rust-rand-0.4)
+        ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+        ("rust-serde" ,rust-serde-0.8))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.4))))))
+
 (define-public rust-num-complex-0.2
   (package
     (name "rust-num-complex")



reply via email to

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