diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-09-05 16:35:58 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-09-06 15:45:57 +0300 |
commit | f81d58b8b3735282114e2a5c29b123e08afa7520 (patch) | |
tree | ba939a6d1828903f7521b9ab953d29ea55a25d30 | |
parent | 2f8e436a29d9a64828d23c79e80d2c563fc3ca19 (diff) | |
download | patches-f81d58b8b3735282114e2a5c29b123e08afa7520.tar patches-f81d58b8b3735282114e2a5c29b123e08afa7520.tar.gz |
gnu: Add rust-tempdir.
* gnu/packages/crates-io.scm (rust-tempdir): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8fb2f87da8..262c1e4116 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2102,6 +2102,32 @@ and Jaro-Winkler.") "This package provides helper test traits for synstructure doctests.") (license license:expat))) +(define-public rust-tempdir + (package + (name "rust-tempdir") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "tempdir" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand" ,rust-rand) + ("rust-remove-dir-all" ,rust-remove-dir-all)))) + (home-page + "https://github.com/rust-lang/tempdir") + (synopsis "Temporary directory management for Rust") + (description + "This package provides a library for managing a temporary directory and +deleting all contents when it's dropped.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-termcolor (package (name "rust-termcolor") |