From 5088b2f998ef9eb524fc3a0b3af87e34d7276797 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 16 Dec 2024 20:39:01 +0100 Subject: [PATCH] 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 70c2a735e74bc4163d828acdb632511b342f619e..ed3a0db888b0a999ce0d4b9fd0bf56c7ec79372c 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")