summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-18 23:41:03 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-19 22:33:23 +0200
commitfbe6dbb69e6600972b8d8f95760abf3a2e107cfd (patch)
treecd86340cb84ebd207e6567160223a6b9a253379e /gnu/packages/crates-io.scm
parent9acfbaf39d09557848593284fb1bbaf5a55d695c (diff)
downloadguix-fbe6dbb69e6600972b8d8f95760abf3a2e107cfd.tar.gz
gnu: Add rust-num-complex-0.1.
* gnu/packages/crates-io.scm (rust-num-complex-0.1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1075c14617..b2be043833 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")