1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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>
This commit is contained in:
Nguyễn Gia Phong
2026-02-14 23:26:41 +09:00
committed by Liliana Marie Prikler
parent 0792e2c4a2
commit c3571abd8a

View File

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