summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorLars Bilke <lars.bilke@ufz.de>2025-03-14 08:52:25 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-03-16 20:29:23 +0000
commitf2717fd4bb230c943390968faec1917b718134ac (patch)
tree76f5826fd98a3d2d339944498398b74ca13ecfe8 /gnu/packages/python-xyz.scm
parent7b08b63ddcb1efa6950def1371b8e21e8f8e6d00 (diff)
gnu: Add python-flexcache.
* gnu/packages/python-xyz.scm (python-flexcache): New variable. Change-Id: Ib583c2a7fcdfde7f06307f91ecd0e500426d3a7d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cf1b5e22ae..4408650c77 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -584,6 +584,35 @@ Sorensen distance, plus some bonuses. All distance computations are
implemented in pure Python, and most of them are also implemented in C.")
(license license:gpl2+)))
+(define-public python-flexcache
+ (package
+ (name "python-flexcache")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "flexcache" version))
+ (sha256
+ (base32 "0mh6c3s0ykmnnhzys72xq5ls4myzpz1y86fmz0ngw6v2l3aknx0q"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-pytest-cov
+ python-pytest-mpl
+ python-pytest-subtests
+ python-setuptools
+ python-setuptools-scm
+ python-wheel))
+ (propagated-inputs
+ (list python-typing-extensions))
+ (home-page "https://github.com/hgrecco/flexcache")
+ (synopsis "Caching transformed versions of a source object")
+ (description
+ "This package implements a functionality to cache on disk the result of
+expensive calculations. It was started as part of
+@url{https://github.com/hgrecco/pint, Pint}, the Python units package.")
+ (license license:bsd-3)))
+
(define-public python-jsonpath-ng
(package
(name "python-jsonpath-ng")