guix-devel
[Top][All Lists]
Advanced

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

[PATCH 13/86] gnu: Add rust-tempdir.


From: ng0
Subject: [PATCH 13/86] gnu: Add rust-tempdir.
Date: Tue, 3 Jan 2017 23:35:29 +0000

* gnu/packages/rust.scm (rust-tempdir): 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 009cf0325..d97a17258 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -520,3 +520,25 @@ of a given type.")
     (description
      "Common code for build.rs in WinAPI -sys crates.")
     (license license:expat)))
+
+(define-public rust-tempdir
+  (package
+    (name "rust-tempdir")
+    (version "0.3.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tempdir" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1mij45kgzflkja0h8q9avrik76h5a0b60m9hfd6k9yqxbiplm5w7"))))
+    (build-system cargo-build-system)
+    (inputs `(("rust-rand" ,rust-rand "src")))
+    (home-page "https://github.com/rust-lang/tempdir";)
+    (synopsis "Library for managing a temporary directory")
+    (description
+     "Tempdir provides a library for managing a temporary directory and
+deleting all contents when it's dropped.")
+    (license (list license:expat license:asl2.0))))
-- 
2.11.0




reply via email to

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