diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-12-16 17:03:54 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:21 +0100 |
commit | 71327fc365f4325975c605b9bf1bb99ddb401811 (patch) | |
tree | f0623bf5b4cadcc3d4fe22ca8ff5c2c9f577db35 | |
parent | 35c5f07e967155d2276c7ec58e5108e4da02c974 (diff) | |
download | guix-71327fc365f4325975c605b9bf1bb99ddb401811.tar.gz guix-71327fc365f4325975c605b9bf1bb99ddb401811.zip |
gnu: Add python-strictyaml.
* gnu/packages/serialization.scm (python-strictyaml): New variable.
Change-Id: I41beff94cca813469c6362285973455ed8e8bd67
-rw-r--r-- | gnu/packages/serialization.scm | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 6fb92678e6..338682d16c 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") |