summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-05 15:26:27 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:18:09 +0100
commit82bdd73b7c12416e2e5435818dc9d908ca682a6d (patch)
tree0653e810feb0af67c26669247167d2a5ab4a3634
parentc01a759816edbac7cbe2d20ed17a7e9bf02e64f3 (diff)
gnu: Add python-typing-inspection.
* gnu/packages/python-xyz.scm (python-typing-inspection): New variable. Change-Id: I1823a5683846b7c3620ed42c157bda437f7451f0 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
-rw-r--r--gnu/packages/python-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d8a67ead00f..c34ccf6c7d0 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")