From 39b62f9dbe615e4462453b1b4e68e7409bb2b389 Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Fri, 31 Oct 2025 14:12:41 +0100 Subject: python-xyz: Add python-flatten-dict. * guix-science/packages/python-xyz.scm (python-flatten-dict): New variable. --- guix-science/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/guix-science/packages/python-xyz.scm b/guix-science/packages/python-xyz.scm index 8d068c1..ab9d411 100644 --- a/guix-science/packages/python-xyz.scm +++ b/guix-science/packages/python-xyz.scm @@ -246,6 +246,29 @@ primarily of plug-ins. In this respect, it is similar to the Eclipse and Netbeans frameworks for Java applications.") (license license:bsd-3))) +(define-public python-flatten-dict + (package + (name "python-flatten-dict") + (version "0.4.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ianlini/flatten-dict") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1m64cm47f5p2iypchd3q119fh7q4fkjmci64n2yvjy7qh0mafxxq")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-pathlib2 python-six)) + (native-inputs (list python-poetry-core python-pytest)) + (home-page "https://github.com/ianlini/flatten-dict") + (synopsis "Flatten and unflatten dict-like objects in Python") + (description + "This package provides a flexible utility for flattening and unflattening +dict-like objects in Python.") + (license license:expat))) + (define-public python-h5io (package (name "python-h5io") -- cgit v1.2.3