From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 07/86] gnu: Add rust-futures. Date: Tue, 3 Jan 2017 23:35:23 +0000 Message-ID: <20170103233642.3181-8-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYdJ-0002Yg-B2 for guix-devel@gnu.org; Tue, 03 Jan 2017 18:36:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYdI-0000ij-FP for guix-devel@gnu.org; Tue, 03 Jan 2017 18:36:45 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYdI-0000hU-8S for guix-devel@gnu.org; Tue, 03 Jan 2017 18:36:44 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYdH-0007Vo-0i for guix-devel@gnu.org; Wed, 04 Jan 2017 00:36:43 +0100 In-Reply-To: <20170103233642.3181-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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