gnu: Add python-overrides.

* gnu/packages/python-xyz.scm (python-overrides): New variable.

Change-Id: I43f613195879ea6cdd5174daadb5e5c35569e534
This commit is contained in:
Ricardo Wurmus 2024-05-07 15:40:57 +02:00 committed by Sharlatan Hellseher
parent 34cd6beab0
commit a1504cde34
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3999,6 +3999,25 @@ dataclass, datetime, numpy, and UUID instances natively.")
;; Either of these licenses ;; Either of these licenses
(license (list license:asl2.0 license:expat)))) (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 (define-public python-argparse-addons
(package (package
(name "python-argparse-addons") (name "python-argparse-addons")