summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorAndré Batista <nandre@riseup.net>2020-10-08 18:33:28 -0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-11 13:42:11 +0300
commit306d5fd850ceacdc0739fa938dd52f7dadf749fb (patch)
treeea296cd075728659c7d3b3eb40a233da5c56716f /gnu
parent2a7f4be8f3beaeb051bf1e1912d8e517b8af1407 (diff)
downloadguix-306d5fd850ceacdc0739fa938dd52f7dadf749fb.tar.gz
gnu: Add rust-tempfile-2.
* gnu/packages/crates-io.scm (rust-tempfile-2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
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 @@ directories.")
     (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")