aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-12-16 20:39:01 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:37:21 +0100
commit5088b2f998ef9eb524fc3a0b3af87e34d7276797 (patch)
tree109ddc004c515afb1f229f9992d06d7f9b5973ef
parent4627e596ef8244dd10cc6088b6b618d4465f733c (diff)
downloadguix-5088b2f998ef9eb524fc3a0b3af87e34d7276797.tar.gz
guix-5088b2f998ef9eb524fc3a0b3af87e34d7276797.zip
gnu: Add python-lazy.
* gnu/packages/python-xyz.scm (python-lazy): New variable. Change-Id: I168f5adc0298a147bcfc55caac6aa68fbf3c7e3a
-rw-r--r--gnu/packages/python-xyz.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 70c2a735e7..ed3a0db888 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -711,6 +711,24 @@ can be gzipped if desired. An optional threaded queue logging handler is
provided to perform logging in the background.")
(license license:asl2.0)))
+(define-public python-lazy
+ (package
+ (name "python-lazy")
+ (version "1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "lazy" version))
+ (sha256
+ (base32 "1sfk1v54dyjxvilcxf9vlnypc5z0mg0i2inb117k5s09qx7349vi"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (home-page "https://github.com/stefanholek/lazy")
+ (synopsis "Lazy attributes for Python objects")
+ (description "This package provides a decorator to create lazy
+attributes.")
+ (license license:bsd-2)))
+
(define-public python-logzero
(package
(name "python-logzero")