From 306d5fd850ceacdc0739fa938dd52f7dadf749fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Batista?= Date: Thu, 8 Oct 2020 18:33:28 -0300 Subject: [PATCH] gnu: Add rust-tempfile-2. * gnu/packages/crates-io.scm (rust-tempfile-2): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 48b70137da..11731a99e7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24254,6 +24254,28 @@ (define-public rust-tempfile-3 (license (list license:asl2.0 license:expat)))) +(define-public rust-tempfile-2 + (package + (inherit rust-tempfile-3) + (name "rust-tempfile") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tempfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q61byf232rra0vqxp4qp10wwwqsqqd45qjj80ql5f34vgljzkhi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-rand" ,rust-rand-0.3) + ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-winapi" ,rust-winapi-0.2)))))) + (define-public rust-tendril-0.4 (package (name "rust-tendril")