aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-04 13:46:48 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-12 11:57:24 +0300
commit7469d541df42f4c9a9bde78f354ecad4d7fab604 (patch)
treeb9e4f035625b97c5750321590c921b848badcf52 /gnu/packages
parentf3739ec0c1f2c6a59e038bd51b56d81c8f84d308 (diff)
downloadguix-7469d541df42f4c9a9bde78f354ecad4d7fab604.tar.gz
guix-7469d541df42f4c9a9bde78f354ecad4d7fab604.zip
gnu: Add rust-fallible-iterator.
* gnu/packages/crates-io.scm (rust-fallible-iterator): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4050484c63..8a0530989d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -171,6 +171,28 @@ floating-point primitives to an @code{io::Write}.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-fallible-iterator
+ (package
+ (name "rust-fallible-iterator")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fallible-iterator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/sfackler/rust-fallible-iterator")
+ (synopsis "Fallible iterator traits")
+ (description "If the @code{std} or @code{alloc} features are enabled, this
+crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
+@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
+provides implementations for @code{HashMap} and @code{HashSet}.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-proc-macro2
(package
(name "rust-proc-macro2")