From 82bdd73b7c12416e2e5435818dc9d908ca682a6d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 5 Dec 2025 15:26:27 +0000 Subject: [PATCH] gnu: Add python-typing-inspection. * gnu/packages/python-xyz.scm (python-typing-inspection): New variable. Change-Id: I1823a5683846b7c3620ed42c157bda437f7451f0 Signed-off-by: Rutherther --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d8a67ead00f218ad186aa9b6d21c0fa7cbffaac0..c34ccf6c7d021fecfbbcff4efe3ca1cc25453b9b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -39176,6 +39176,33 @@ uses ujson.") inspection of types defined in the Python standard typing module.") (license license:expat))) +(define-public python-typing-inspection + (package + (name "python-typing-inspection") + (version "0.4.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pydantic/typing-inspection") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dqib4arxxaxwyapw6y4pcvm38l8djkhd8cfr149w42bw4xrqr38")))) + (build-system pyproject-build-system) + ;; tests: 89 passed, 3 skipped + (native-inputs + (list python-pytest + python-hatchling)) + (propagated-inputs + (list python-typing-extensions)) + (home-page "https://github.com/pydantic/typing-inspection") + (synopsis "Runtime typing introspection tools") + (description + "@code{typing-inspection} provides tools to inspect type annotations at +runtime.") + (license license:expat))) + (define-public python-typogrify (package (name "python-typogrify")