From 4964b17e38153a5f23bc61910754d9bb38aa5c27 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 20 Nov 2020 08:26:52 -0600 Subject: [PATCH] gnu: Add rust-cachedir-0.1. * gnu/packages/crates-io.scm (rust-cachedir-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6e4be1c810..51f31ce1e8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3324,6 +3324,32 @@ (define-public rust-c2-chacha-0.2 "The ChaCha family of stream ciphers.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cachedir-0.1 + (package + (name "rust-cachedir") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cachedir" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j18j73fxrr82marcdrn86123vr9v5n0fgyjkf9mi9pzyk8hjrf0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-tempfile" ,rust-tempfile-3)) + ;; Tests require a mutable home directory and access to /var/tmp. + #:tests? #f)) + (home-page "https://github.com/lilianmoraru/cachedir") + (synopsis "Interact with cache directories and @file{CACHEDIR.TAG} files") + (description + "This package provides a library to help interacting with cache +directories and @code{CACHEDIR.TAG} files.") + (license (list license:expat license:asl2.0)))) + (define-public rust-calloop-0.4 (package (name "rust-calloop")