guix-commits
[Top][All Lists]
Advanced

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

17/46: gnu: Add rust-num-complex-0.1.


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

efraim pushed a commit to branch master
in repository guix.

commit fbe6dbb69e6600972b8d8f95760abf3a2e107cfd
Author: Efraim Flashner <address@hidden>
AuthorDate: Wed Mar 18 23:41:03 2020 +0200

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1075c14..b2be043 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10810,6 +10810,27 @@ including bigint, complex, rational, range iterators, 
generic integers, and more
      "Complex numbers implementation for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-num-complex-0.1
+  (package
+    (inherit rust-num-complex-0.2)
+    (name "rust-num-complex")
+    (version "0.1.43")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "num-complex" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0mln3h018lar511hadjwfkbyq1561s8kdzfg8aagbakqg0fn725j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+        ("rust-serde" ,rust-serde-0.8))))))
+
 (define-public rust-num-cpus-1.11
   (package
     (name "rust-num-cpus")



reply via email to

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