all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#54755] [PATCH] gnu: Add python-flatten-json.
@ 2022-04-06 19:22 Peter Polidoro
  2022-04-29 13:30 ` bug#54755: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Polidoro @ 2022-04-06 19:22 UTC (permalink / raw)
  To: 54755

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-python-flatten-json.patch --]
[-- Type: text/x-diff, Size: 1309 bytes --]

From 6f5dc31615613a4ed41fed20230609b3a4c3aa67 Mon Sep 17 00:00:00 2001
From: Peter Polidoro <peter@polidoro.io>
Date: Wed, 6 Apr 2022 15:21:14 -0400
Subject: [PATCH] gnu: Add python-flatten-json.

* gnu/packages/python-xyz.scm (python-flatten-json): New variable.
---
 gnu/packages/python-xyz.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 55705ab2ea..e782407f39 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29364,3 +29364,20 @@ (define-public python-aiopg
 database from the asyncio (PEP-3156/tulip) framework.  It wraps
 asynchronous features of the Psycopg database driver.")
     (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 "Flatten JSON objects")
+    (license license:expat)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#54755: [PATCH] gnu: Add python-flatten-json.
  2022-04-06 19:22 [bug#54755] [PATCH] gnu: Add python-flatten-json Peter Polidoro
@ 2022-04-29 13:30 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-04-29 13:30 UTC (permalink / raw)
  To: Peter Polidoro; +Cc: 54755-done

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

Hi,

Peter Polidoro <peter@polidoro.io> skribis:

>>From 6f5dc31615613a4ed41fed20230609b3a4c3aa67 Mon Sep 17 00:00:00 2001
> From: Peter Polidoro <peter@polidoro.io>
> Date: Wed, 6 Apr 2022 15:21:14 -0400
> Subject: [PATCH] gnu: Add python-flatten-json.
>
> * gnu/packages/python-xyz.scm (python-flatten-json): New variable.

Applied with the cosmetic changes below, as per
<https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html>.

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 618 bytes --]

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3286cd0548..2bfe6745d9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29602,5 +29602,7 @@ (define-public python-flatten-json
     (propagated-inputs (list python-six))
     (home-page "https://github.com/amirziai/flatten")
     (synopsis "Flatten JSON objects")
-    (description "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)))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-29 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 19:22 [bug#54755] [PATCH] gnu: Add python-flatten-json Peter Polidoro
2022-04-29 13:30 ` bug#54755: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.