diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-31 02:54:20 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:23 +0100 |
| commit | a0f4fdda2992553215c7de7f333e63c564c71f43 (patch) | |
| tree | 3e12f8dd18a5f38dd92633c33a93d3793d308ddd /gnu/packages/python-build.scm | |
| parent | 05c66d405a942ca9ce2de1f31f8ccf2a7409e774 (diff) | |
gnu: python-typeguard: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-typeguard): Move from here…
* gnu/packages/python-build.scm (python-typeguard): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap,
python-setuptools-scm by python-setuptools-scm-boostrap.
Change-Id: I14196e595b28741d3c97bcd7436d8276ca9425d1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-build.scm')
| -rw-r--r-- | gnu/packages/python-build.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 69d41488568..fd0333affd6 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -406,6 +406,33 @@ and many external plugins.") PyPI (pypi.org).") (license license:asl2.0))) +(define-public python-typeguard + (package + (name "python-typeguard") + (version "4.4.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "typeguard" version)) + (sha256 + (base32 "0x2zkskia5lb1838ys0bhpp9v6y80jkhchzdz874spbhzggx4zrs")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags #~(list "--ignore-glob=tests/mypy/*.py"))) + (native-inputs + (list python-pytest-bootstrap + python-setuptools-bootstrap + python-setuptools-scm-bootstrap)) + (propagated-inputs + (list python-typing-extensions)) + (home-page "https://github.com/agronholm/typeguard") + (synopsis "Run-time type checker for Python") + (description + "@code{typeguard} provides run-time type checking for functions defined +with PEP 484 argument (and return) type annotations.") + (license license:expat))) + (define-public python-typing-extensions (package (name "python-typing-extensions") |
