From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 14/86] gnu: Add rust-glob. Date: Tue, 3 Jan 2017 23:35:30 +0000 Message-ID: <20170103233642.3181-15-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYdN-0002ak-Sk for guix-devel@gnu.org; Tue, 03 Jan 2017 18:36:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYdM-0000l0-Tb for guix-devel@gnu.org; Tue, 03 Jan 2017 18:36:49 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33287) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYdM-0000kc-Mh for guix-devel@gnu.org; Tue, 03 Jan 2017 18:36:48 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYdL-0007WU-GR for guix-devel@gnu.org; Wed, 04 Jan 2017 00:36:47 +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-glob): 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 d97a17258..404184c7b 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -542,3 +542,25 @@ of a given type.") "Tempdir provides a library for managing a temporary directory and deleting all contents when it's dropped.") (license (list license:expat license:asl2.0)))) + +(define-public rust-glob + (package + (name "rust-glob") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "glob" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb")))) + (build-system cargo-build-system) + (native-inputs + `(("rust-tempdir" ,rust-tempdir "src"))) + (home-page "https://github.com/rust-lang/glob") + (synopsis "Match file paths against Unix shell style patterns") + (description + "Support for matching file paths against Unix shell style patterns.") + (license (list license:expat license:asl2.0)))) -- 2.11.0