guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

26/41: gnu: Add rust-tempfile.


From: guix-commits
Subject: 26/41: gnu: Add rust-tempfile.
Date: Fri, 6 Sep 2019 08:47:29 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 5ef6549e12985fb4ed97672e5068d994c541b3a3
Author: Efraim Flashner <address@hidden>
Date:   Thu Sep 5 18:26:05 2019 +0300

    gnu: Add rust-tempfile.
    
    * gnu/packages/crates-io.scm (rust-tempfile): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 705cccb..ec65076 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2714,6 +2714,34 @@ deleting all contents when it's dropped.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-tempfile
+  (package
+    (name "rust-tempfile")
+    (version "3.0.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "tempfile" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0ny1cdbcsrmwjpy4k9366xm6p0jqkrmrvr0cln2djxspp1inyxs7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc)
+        ("rust-rand" ,rust-rand)
+        ("rust-redox-syscall" ,rust-redox-syscall)
+        ("rust-remove-dir-all" ,rust-remove-dir-all)
+        ("rust-winapi" ,rust-winapi))))
+    (home-page "http://stebalien.com/projects/tempfile-rs";)
+    (synopsis "Library for managing temporary files and directories")
+    (description
+     "This package provides a library for managing temporary files and
+directories.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-termcolor
   (package
     (name "rust-termcolor")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]