summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-29 14:44:18 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-29 15:05:25 +0300
commit9dbb27670daa9876e49f90a58db1f03bdfe51ebc (patch)
treea15883f2bd2f401e98696c52c7fdc7ad3ab2fa78
parentcb298154b30aebf711f6d43156df683c38de4ad9 (diff)
downloadguix-9dbb27670daa9876e49f90a58db1f03bdfe51ebc.tar.gz
gnu: Add rust-num-iter.
* gnu/packages/crates-io.scm (rust-num-iter): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ac925e3c10..dccdd5467f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1036,6 +1036,32 @@ types as proposed in RFC 1158.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-num-iter
+  (package
+    (name "rust-num-iter")
+    (version "0.1.39")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "num-iter" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-num-integer" ,rust-num-integer)
+        ("rust-num-traits" ,rust-num-traits))
+       #:cargo-development-inputs
+       (("rust-autocfg" ,rust-autocfg))))
+    (home-page "https://github.com/rust-num/num-iter")
+    (synopsis "External iterators for generic mathematics")
+    (description
+     "This crate provides external iterators for generic mathematics.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-num-traits
   (package
     (name "rust-num-traits")