From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 27/86] gnu: Add rust-num-iter. Date: Tue, 3 Jan 2017 23:35:43 +0000 Message-ID: <20170103233642.3181-28-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYdu-00035G-AY for guix-devel@gnu.org; Tue, 03 Jan 2017 18:37:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYdt-0001AK-DM for guix-devel@gnu.org; Tue, 03 Jan 2017 18:37:22 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33379) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYdt-00019n-6K for guix-devel@gnu.org; Tue, 03 Jan 2017 18:37:21 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYds-0000HI-1I for guix-devel@gnu.org; Wed, 04 Jan 2017 00:37:20 +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-num-iter): New variable. --- gnu/packages/rust.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 1c3de9897..e29a502a7 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -837,3 +837,26 @@ at build time in order to be used in Cargo build scripts.") (description "Num-integer provides integer traits and functions.") (license (list license:expat license:asl2.0)))) + +(define-public rust-num-iter + (package + (name "rust-num-iter") + (version "0.1.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-iter" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0p74nj5c1mc33h9lx4wpmlmggmn5lnkhxv1225g0aix8d6ciqyi8")))) + (build-system cargo-build-system) + (inputs + `(("rust-num-integer" ,rust-num-integer "src") + ("rust-num-traits" ,rust-num-traits "src"))) + (home-page "https://github.com/rust-num/num") + (synopsis "External iterators for generic mathematics") + (description + "Num-iter provides external iterators for generic mathematics.") + (license (list license:expat license:asl2.0)))) -- 2.11.0