From cdc550581937e1c8208f523adcd6376b48f71069 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 14 Jan 2024 16:44:34 +0200 Subject: gnu: Add python-annotated-types. * gnu/packages/python-xyz.scm (python-annotated-types): New variable. Change-Id: I8d601a226fbf25be7746a617c88084ab067978d4 --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages') 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") -- cgit v1.2.3