~ruther/guix-local

60022d25d5867fd83d888185e79110f1e5fe177d — Sharlatan Hellseher 10 months ago 16bd287
gnu: python-flatten-json: Update to 0.1.14-0.900c4fe.

* gnu/packages/python-xyz.scm (python-flatten-json): Update to 0.1.14-0.900c4fe.
[source]: Swap to git-fetch and latest commit associated with 0.1.14 version.
[build-system]: Use pyproject.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Ia28ae8f5a10cd198746b15689b84f512d254a1df
1 files changed, 28 insertions(+), 16 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +28 -16
@@ 38784,23 38784,35 @@ parsing.")
    (license license:expat)))

(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
  ;; The latest version was not tagged on GitHub, PyPI provides no tests, use
  ;; the commit assosiated with 0.1.14 version.
  (let ((commit "900c4feebcfcd831ddb6143c4b246024ecf911ec")
        (revision "0"))
    (package
      (name "python-flatten-json")
      (version (git-version "0.1.14" revision commit))
      (source
       (origin
         (method git-fetch) ; no tests in PyPI release
         (uri (git-reference
                (url "https://github.com/amirziai/flatten")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "1vk2ykmk4wirsywinxk9v520y6iv857bn0hsizm25s3d08v5a3sb"))))
      (build-system pyproject-build-system)
      (native-inputs
       (list python-pytest
             python-setuptools
             python-wheel))
      (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)))
      (license license:expat))))

(define-public python-deepdiff
  (package