summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-14 16:44:34 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:40 +0200
commitcdc550581937e1c8208f523adcd6376b48f71069 (patch)
tree331ff32831e3e03a138e6c20c120532a62d6b14f
parentf98d39954fa0052af32d03824a3f9c4a47091d24 (diff)
gnu: Add python-annotated-types.
* gnu/packages/python-xyz.scm (python-annotated-types): New variable. Change-Id: I8d601a226fbf25be7746a617c88084ab067978d4
-rw-r--r--gnu/packages/python-xyz.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0e36ec03de..f2bc04813b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6230,6 +6230,25 @@ important tasks for becoming a daemon process:
;; Only setup.py is gpl3+, everything else is apache 2.0 licensed.
(license (list license:asl2.0 license:gpl3+))))
+(define-public python-annotated-types
+ (package
+ (name "python-annotated-types")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "annotated_types" version))
+ (sha256
+ (base32 "0paaz0i4xqk335ji5w887i2bhgm2krnzr6by4sfgsgz50zl3jcsn"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-hatchling
+ python-pytest))
+ (home-page "https://github.com/annotated-types/annotated-types")
+ (synopsis "Reusable constraint types to use with typing.Annotated")
+ (description "Reusable constraint types to use with typing.Annotated")
+ (license license:expat)))
+
(define-public python-anytree
(package
(name "python-anytree")