From 414b5be69dafd0caeeef3168a448bead6ca65e56 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 28 Oct 2025 17:35:00 +0000 Subject: [PATCH] gnu: Add python-decopatch. * gnu/packages/python-xyz.scm (python-decopatch): New variable. Change-Id: I396e68c5fedb2849c3d76a274824881360050ae8 --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0dfd70cfe3f6b7a32096089385a11edb383907e3..28c745d5cab6fa08e1451bacb2a971b6803b5a82 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -732,6 +732,31 @@ fullscreen terminal rendering, and keyboard input event reporting.") "This package allows to detect if the user is using Dark Mode.") (license license:bsd-3))) +(define-public python-decopatch + (package + (name "python-decopatch") + (version "1.4.10") + (source + (origin + (method url-fetch) + (uri (pypi-uri "decopatch" version)) + (sha256 + (base32 "082pnnc7a1d7rk40k7m72w7kw8dk7g8m3yzq4cn1hl217z4ljzwm")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;XXX: cycles with python-pytest-cases + (native-inputs + (list python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-makefun)) + (home-page "https://github.com/smarie/python-decopatch") + (synopsis "Create decorators easily in Python") + (description + "This package provide implements a functionality to simplify writing +decorators in Python.") + (license license:bsd-3))) + (define-public python-distance (let ((commit "ad7f9dc7e9b0e88a08d0cefd1442f4ab1dd1779b") (revision "0"))