diff options
author | Vinicius Monego <monego@posteo.net> | 2024-07-16 23:38:21 +0000 |
---|---|---|
committer | jgart <jgart@dismail.de> | 2024-07-16 20:35:25 -0500 |
commit | b0edf212e1195a36a7fb1f086b2399569afc6a7e (patch) | |
tree | 63994269021d0fd22042c65f2660cd65feebfda5 /gnu/packages/python-xyz.scm | |
parent | 325fed4c1514bffd084355455710fcc3f1c8da2c (diff) | |
download | guix-b0edf212e1195a36a7fb1f086b2399569afc6a7e.tar guix-b0edf212e1195a36a7fb1f086b2399569afc6a7e.tar.gz |
gnu: Add python-property-cached.
* gnu/packages/python-xyz.scm (python-property-cached): New variable.
Change-Id: I173c358bd8cf6d536cc984c3d9c76e0bad41dad4
Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2a51320d59..c6cbb22684 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10011,6 +10011,28 @@ Storage or Compound Document, Microsoft Office). It is an improved version of the OleFileIO module from PIL, the Python Image Library.") (license license:bsd-3))) +(define-public python-property-cached + (package + (name "python-property-cached") + (version "1.6.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "property-cached" version ".zip")) + (sha256 + (base32 "0wxv5sdx1p7ils36j6j6hfscz8v2vzbq212i8y8r0lrnxpqlx71y")))) + (build-system pyproject-build-system) + (arguments + (list + ;; AssertionError. + #:test-flags #~(list "-k" "not test_threads_ttl_expiry"))) + (native-inputs (list python-freezegun python-pytest unzip)) + (home-page "https://github.com/althonos/property-cached/") + (synopsis "Decorator for caching properties in classes") + (description "This package provides a decorator for caching properties in +classes. It is forked from @code{cached-property}.") + (license license:bsd-3))) + (define-public python-pypdf3 (package (name "python-pypdf3") |