From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:37049) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huEnE-00079h-MP for guix-patches@gnu.org; Sun, 04 Aug 2019 07:35:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huEnD-0004IN-NI for guix-patches@gnu.org; Sun, 04 Aug 2019 07:35:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51795) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huEnD-0004Hh-Jb for guix-patches@gnu.org; Sun, 04 Aug 2019 07:35:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1huEnD-0001ln-8W for guix-patches@gnu.org; Sun, 04 Aug 2019 07:35:15 -0400 Subject: [bug#36920] [PATCH 12/43] gnu: Add rust-futures. Resent-Message-ID: From: Efraim Flashner Date: Sun, 4 Aug 2019 14:33:44 +0300 Message-Id: <37f4236c898d7e1faf5dd89096a4e6e4ffb0fde9.1564918220.git.efraim@flashner.co.il> In-Reply-To: <20190804112613.GC2421@E2140> References: <20190804112613.GC2421@E2140> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36920@debbugs.gnu.org * gnu/packages/crates-io.scm (rust-futures): New variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index afd7cb586a..dedc0b8db0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -233,6 +233,26 @@ implementation that is more efficient for smaller hash keys.") process and much more.") (license license:expat))) +(define-public rust-futures + (package + (name "rust-futures") + (version "0.1.28") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25")))) + (build-system cargo-build-system) + (home-page "https://github.com/rust-lang-nursery/futures-rs") + (synopsis "Implementation of zero-cost futures in Rust") + (description "An implementation of @code{futures} and @code{streams} +featuring zero allocations, composability, and iterator-like interfaces.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-proc-macro2 (package (name "rust-proc-macro2") -- 2.22.0