summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-07 15:40:57 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-10-14 21:31:51 +0100
commitae313ea081da6151d6fbf6de9cd9a7c562337124 (patch)
treeff5fa767c531be59441c4826a45573376368c9f8 /gnu/packages/python-xyz.scm
parent0d02702ec9a7baf6883ba0fc1ec046ad416e0707 (diff)
gnu: Add python-overrides.
* gnu/packages/python-xyz.scm (python-overrides): New variable. Change-Id: I43f613195879ea6cdd5174daadb5e5c35569e534
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 370d357568..da7ecc7145 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3926,6 +3926,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")