unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Polidoro <peter@polidoro.io>
To: 54755@debbugs.gnu.org
Subject: [bug#54755] [PATCH] gnu: Add python-flatten-json.
Date: Wed, 06 Apr 2022 15:22:14 -0400	[thread overview]
Message-ID: <86y20it3s1.fsf@polidoro.io> (raw)

[-- 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





             reply	other threads:[~2022-04-06 19:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-06 19:22 Peter Polidoro [this message]
2022-04-29 13:30 ` bug#54755: [PATCH] gnu: Add python-flatten-json Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86y20it3s1.fsf@polidoro.io \
    --to=peter@polidoro.io \
    --cc=54755@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).