rekado pushed a commit to branch python-team in repository guix. commit 1a7483f0fe1eb9e3f89c38c582cb55185a003609 Author: Ricardo Wurmus <rek...@elephly.net> AuthorDate: Mon Dec 16 17:03:54 2024 +0100
gnu: Add python-strictyaml. * gnu/packages/serialization.scm (python-strictyaml): New variable. Change-Id: I41beff94cca813469c6362285973455ed8e8bd67 --- gnu/packages/serialization.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 526e9316ad..18032b2f86 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -68,7 +68,8 @@ #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) #:use-module (gnu packages python-science) - #:use-module (gnu packages python-xyz)) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages time)) (define-public avro-cpp-1.9 (package @@ -847,6 +848,25 @@ style and key ordering are kept, so you can diff the source.") @code{ruamel.yaml} derived from libyaml.") (license license:expat))) +(define-public python-strictyaml + (package + (name "python-strictyaml") + (version "1.7.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "strictyaml" version)) + (sha256 + (base32 "01y4hrakk1psdj6ir5k70apqkjjipvja0c40pbfvahmbzjjm9y12")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-dateutil python-ruamel.yaml)) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://pypi.org/project/strictyaml/") + (synopsis "Strict, typed YAML parser") + (description "StrictYAML is a type-safe YAML parser that parses and +validates a restricted subset of the YAML specification.") + (license license:expat))) + (define-public python-cbor (package (name "python-cbor")