rekado pushed a commit to branch master
in repository guix.
commit 5088b2f998ef9eb524fc3a0b3af87e34d7276797
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Dec 16 20:39:01 2024 +0100
gnu: Add python-lazy.
* gnu/packages/python-xyz.scm (python-lazy): New variable.
Change-Id: I168f5adc0298a147bcfc55caac6aa68fbf3c7e3a
---
gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
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")