gnu: Add python-strictyaml.

* gnu/packages/serialization.scm (python-strictyaml): New variable.

Change-Id: I41beff94cca813469c6362285973455ed8e8bd67
This commit is contained in:
Ricardo Wurmus 2024-12-16 17:03:54 +01:00
parent 35c5f07e96
commit 71327fc365
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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")