From a1504cde345d2a5c04c2cf639892ee655dfddc9a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 7 May 2024 15:40:57 +0200 Subject: gnu: Add python-overrides. * gnu/packages/python-xyz.scm (python-overrides): New variable. Change-Id: I43f613195879ea6cdd5174daadb5e5c35569e534 --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7f0fedd1974..c02b09e3c04 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3999,6 +3999,25 @@ dataclass, datetime, numpy, and UUID instances natively.") ;; Either of these licenses (license (list license:asl2.0 license:expat)))) +(define-public python-overrides + (package + (name "python-overrides") + (version "7.7.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "overrides" version)) + (sha256 + (base32 "02l2j5pnsxn0q5i63is5g6i3q06ri83nf7lv55swr61vv6iqy5am")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (home-page "https://github.com/mkorpela/overrides") + (synopsis "Decorator to detect mismatch when overriding a method") + (description + "This package provides a decorator to automatically detect mismatch when +overriding a method.") + (license license:asl2.0))) + (define-public python-argparse-addons (package (name "python-argparse-addons") -- cgit v1.2.3