summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:05:31 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:44:00 +0300
commita2f821e74b3bb3a44860c3a23e7b7fdebf1a65c5 (patch)
treecfb5c2862187d14765965309294d455fc1a791ea
parentb62f74a656424a251c808561948b23f76773b9f7 (diff)
gnu: Add rust-tempfile-3.0.
* gnu/packages/rust-cbindgen.scm (rust-tempfile-3.0): New hidden variable.
-rw-r--r--gnu/packages/rust-cbindgen.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 7c93e401e7..57e80de9fe 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -730,3 +730,24 @@ and Jaro-Winkler.")
(description "Parser for Rust source code")
(properties '((hidden? . #t)))
(license (list license:expat license:asl2.0))))
+
+(define rust-tempfile-3.0
+ (package
+ (name "rust-tempfile")
+ (version "3.0.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tempfile" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "1vqk7aq2l04my2r3jiyyxirnf8f90nzcvjasvrajivb85s7p7i3x"))))
+ (build-system cargo-build-system)
+ (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.")
+ (properties '((hidden? . #t)))
+ (license (list license:expat license:asl2.0))))