diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-08-25 17:46:20 +0200 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-08-25 17:46:20 +0200 |
| commit | b620ba612f09bda83f8699ff9e8c2c94973cee89 (patch) | |
| tree | 3621158116cb21a1edc8d7069dbb37d0f2ebab04 | |
| parent | 4f16a7eff13893b019022021308bd33acd3b124a (diff) | |
gnu: Add python-yamlordereddictloader.
* gnu/packages/python-xyz.scm (python-yamlordereddictloader): New
variable.
Change-Id: Ie250a044da02d2a2c8d2113d2331e37c6b3e46b0
| -rw-r--r-- | gnu/packages/python-xyz.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 87183ac9e2..88c2909c4e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28402,6 +28402,34 @@ syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc.") (license license:gpl3+))) +(define-public python-yamlordereddictloader + (package + (name "python-yamlordereddictloader") + (version "0.4.2") + (home-page "https://github.com/fmenabe/python-yamlordereddictloader") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rwvasdmfq7lbd2bm7vmx759fv535cp5ndyhf845fqd86mr7a94c")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-pyyaml)) + (native-inputs + (list python-setuptools + python-wheel)) + (synopsis "Loader and a dumper for PyYAML") + (description "yamlordereddictloader is a python package that provides a +loader and a dumper for PyYAML allowing to keep items order when loading a +file (by putting them in OrderedDict objects) and to manage OrderedDict +objects when dumping to a file.") + (license license:expat))) + (define-public python-yapf (package (name "python-yapf") |
