From ecebea7bdc95c3410729a9b600b1685b0478e09a Mon Sep 17 00:00:00 2001 From: Ryan Sundberg Date: Wed, 5 May 2021 21:36:32 -0700 Subject: [PATCH 20/55] Add python-typeguard package (via guix import) --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b77a897108..24c3582005 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25992,3 +25992,25 @@ representing paths or filenames.") (description "Python for Win32 (pywin32) extensions, which provides access to many of the Windows APIs from Python. This is a stub to fix guix import pypy for this package.") (license #f))) + +(define-public python-typeguard + (package + (name "python-typeguard") + (version "2.12.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "typeguard" version)) + (sha256 + (base32 + "1vs7y44mqixvl9fv863gdm79kqx8l6svmnqw89dlcqxsrka7z9zw")))) + (build-system python-build-system) + (native-inputs + `(("python-mypy" ,python-mypy) + ("python-pytest" ,python-pytest) + ("python-typing-extensions" + ,python-typing-extensions))) + (home-page "") + (synopsis "Run-time type checker for Python") + (description "Run-time type checker for Python") + (license license:expat))) -- 2.31.1