gnu: Add rust-cachedir-0.1.

* gnu/packages/crates-io.scm (rust-cachedir-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Joseph LaFreniere 2020-11-20 08:26:52 -06:00 committed by Efraim Flashner
parent 44d233d74d
commit 4964b17e38
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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")