diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 14:44:18 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 15:05:25 +0300 |
commit | 9dbb27670daa9876e49f90a58db1f03bdfe51ebc (patch) | |
tree | a15883f2bd2f401e98696c52c7fdc7ad3ab2fa78 /gnu/packages/crates-io.scm | |
parent | cb298154b30aebf711f6d43156df683c38de4ad9 (diff) | |
download | patches-9dbb27670daa9876e49f90a58db1f03bdfe51ebc.tar patches-9dbb27670daa9876e49f90a58db1f03bdfe51ebc.tar.gz |
gnu: Add rust-num-iter.
* gnu/packages/crates-io.scm (rust-num-iter): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
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") |