From 1bb177d08401feb4370d6422f2c6fc746adc7c2a Mon Sep 17 00:00:00 2001 From: Peter Polidoro Date: Wed, 6 Apr 2022 15:21:14 -0400 Subject: gnu: Add python-flatten-json. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-flatten-json): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f8e599a453..2bfe6745d9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29587,3 +29587,22 @@ and setting the color of terminal output, via HyDEV.") versions of MkDocs-powered docs to a Git branch. It is suitable for deploying to Github via gh-pages.") (license license:bsd-3))) + +(define-public python-flatten-json + (package + (name "python-flatten-json") + (version "0.1.13") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flatten_json" version)) + (sha256 + (base32 "007m28gfs7pmz2rqqjxpial6skzw26hrfi8vrdy9agi9x0rj6dgf")))) + (build-system python-build-system) + (propagated-inputs (list python-six)) + (home-page "https://github.com/amirziai/flatten") + (synopsis "Flatten JSON objects") + (description + "The @code{flatten_json} Python library flattens the hierarchy in your +object, which can be useful if you want to force your objects into a table.") + (license license:expat))) -- cgit v1.2.3