summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2026-02-14 23:26:41 +0900
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-03-26 06:35:27 +0100
commitc3571abd8a8bc905c651997e6ba90e3c706aef6d (patch)
treedbde329ce78aa69a9e3167a9eb3b1e29f03ae023
parent0792e2c4a20a690c5dc3ed3306eee22fd5734184 (diff)
gnu: Add python-cachedir-tag.
* gnu/packages/python-xyz.scm (python-cachedir-tag): New variable. Change-Id: I17ce7cb898895187ee9249c4f663fdafeec52a18 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 38092042f74..c633f5e196e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3263,6 +3263,30 @@ API for consuming libraries to test against so they can be completely sure
their usage of the array API is portable.")
(license license:bsd-3)))
+(define-public python-cachedir-tag
+ (package
+ (name "python-cachedir-tag")
+ (version "0.0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/moreati/python-cachedir-tag")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1s78j7ppangzglcc1pwkg0i4bvv47iyx3k4dpxn209sdy2554xqj"))))
+ (build-system pyproject-build-system)
+ (arguments '(#:tests? #f)) ;no test
+ (native-inputs (list python-setuptools))
+ (home-page "https://github.com/moreati/python-cachedir-tag")
+ (synopsis
+ "Handle @file{CACHEDIR.TAG} in cache directories")
+ (description
+ "This library handles @url{https://bford.info/cachedir, CACHEDIR.TAG},
+a file llowing any arbitrary directory to be marked as a cache directory.")
+ (license license:expat)))
+
(define-public python-cachetools
(package
(name "python-cachetools")