From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 69/86] gnu: Add rust-tempfile. Date: Tue, 3 Jan 2017 23:36:25 +0000 Message-ID: <20170103233642.3181-70-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYfS-0004b4-KJ for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYfR-0002If-HH for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:58 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33514) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYfR-0002I6-9s for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:57 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYfQ-00030K-4U for guix-devel@gnu.org; Wed, 04 Jan 2017 00:38:56 +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-tempfile): New variable. --- gnu/packages/rust.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 51c603dab..b9e93c2d4 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1885,3 +1885,28 @@ and serializing Rust structures.") "Rustc-version provides a library for querying the version of a installed rustc compiler.") (license (list license:expat license:asl2.0)))) + +(define-public rust-tempfile + (package + (name "rust-tempfile") + (version "2.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tempfile" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j7h9xcxvzap9xpiy8w6mw9hb5iwddw7xrlgq7db3ldsjdx86w4j")))) + (build-system cargo-build-system) + (native-inputs + `(("rust-rustc-version" ,rust-rustc-version "src"))) + (inputs + `(("rust-libc" ,rust-libc "src") + ("rust-rand" ,rust-rand "src"))) + (home-page "http://stebalien.com/projects/tempfile-rs") + (synopsis "Securely create temporary files") + (description + "Tempfile allows you to securely create temporary files.") + (license (list license:expat license:asl2.0)))) -- 2.11.0