guix-devel
[Top][All Lists]
Advanced

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

[PATCH 07/86] gnu: Add rust-futures.


From: ng0
Subject: [PATCH 07/86] gnu: Add rust-futures.
Date: Tue, 3 Jan 2017 23:35:23 +0000

* gnu/packages/rust.scm (rust-futures): New variable.
---
 gnu/packages/rust.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 0dc05520b..44f4e2a10 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -382,3 +382,25 @@ feature-compliant with other bindings based on the 
library.")
 logging API, and the consumer of those libraries can choose the logging
 implementation that is most suitable for its use case.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-futures
+  (package
+    (name "rust-futures")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "futures" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "087yvc0baprw507nlr6lwkzd57a99gjj8zz95h12irfp3nk84yhp"))))
+    (build-system cargo-build-system)
+    (inputs `(("rust-log" ,rust-log "src")))
+    (home-page "https://github.com/alexcrichton/futures-rs";)
+    (synopsis "Zero-cost futures and streams implementation")
+    (description
+     "Futures is a library implementation of futures and streams
+featuring zero allocations, composability, and iterator-like interfaces.")
+    (license (list license:expat license:asl2.0))))
-- 
2.11.0




reply via email to

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