rekado pushed a commit to branch python-team
in repository guix.

commit 935426f0effdaac37f2d12e1841ced38564767f6
Author: Ricardo Wurmus <rek...@elephly.net>
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 ee097dcd31..3461ca13b5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -654,6 +654,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")

Reply via email to