guix-commits
[Top][All Lists]
Advanced

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

37/37: gnu: Add rust-cachedir-0.3.


From: guix-commits
Subject: 37/37: gnu: Add rust-cachedir-0.3.
Date: Thu, 18 Jan 2024 13:27:08 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit f66f3d77a6f06ebc20d8ef0a1b7b8f75bd6937fc
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Mon Jan 8 18:18:44 2024 +0100

    gnu: Add rust-cachedir-0.3.
    
    * gnu/packages/crates-io.scm (rust-cachedir-0.3): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7108ed04ae..a37f75fa5f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9756,6 +9756,30 @@ CachePadded to ensure updating one piece of data doesn't 
invalidate other
 cached data.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-cachedir-0.3
+  (package
+    (name "rust-cachedir")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cachedir" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0wyqx30crm2qsq4ny57hhljyq6iw6j4qfg7fbfiqznvpf29z60s7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/jstasiak/cachedir";)
+    (synopsis "Interact with cache directories and @file{CACHEDIR.TAG} files")
+    (description
+     "This package provides a library to help interacting with cache
+directories and @file{CACHEDIR.TAG} files as defined by the Cache Directory
+Tagging Specification.  This library comes with functionality to, among
+others, add a tag, ensure/check a tag exists and get the state of a tag.")
+    (license license:expat)))
+
 (define-public rust-calamine-0.18
   (package
     (name "rust-calamine")



reply via email to

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