mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-jsondiff: Update to 2.2.1.
* gnu/packages/python-xyz.scm (python-jsondiff): Update to 2.2.1. [build-system]: Use pyproject-build-system. [arguments]: Add phase 'set-version. [propagated-inputs]: Add python-pyyaml. [native-inputs]: Add python-hypothesis, python-pytest, python-setuptools, python-setuptools-scm, and python-wheel; remove python-nose and python-nose-random. Change-Id: Ib3756e561e6f53353c950e472c8cf5275e055005
This commit is contained in:
parent
fce83fe319
commit
631c03a80a
1 changed files with 32 additions and 18 deletions
|
@ -6727,24 +6727,38 @@ between Julian dates and Gregorian dates.")
|
|||
|
||||
(define-public python-jsondiff
|
||||
(package
|
||||
(name "python-jsondiff")
|
||||
(version "1.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "jsondiff" version))
|
||||
(sha256
|
||||
(base32
|
||||
"00v3689175aqzdscrxpffm712ylp8jvcpqdg51ca22ni6721p51l"))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
(list python-nose python-nose-random))
|
||||
(home-page
|
||||
"https://github.com/fzumstein/jsondiff")
|
||||
(synopsis "Compare JSON and JSON-like structures in Python")
|
||||
(description "@code{jsondiff} is a Python library which lets you
|
||||
compare, diff, and patch JSON and JSON-like structures in Python.")
|
||||
(license license:expat)))
|
||||
(name "python-jsondiff")
|
||||
(version "2.2.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "jsondiff" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1zpp8l2ii9ic1sk6kdcqxk0v5q9pgdmdhg1h4vg8dfl6i8n1d3b5"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
(("^version_file.*") "")
|
||||
(("dynamic = \\[\"version\"\\]")
|
||||
(string-append "version = \"" #$version "\""))))))))
|
||||
(propagated-inputs (list python-pyyaml))
|
||||
(native-inputs
|
||||
(list python-hypothesis
|
||||
python-pytest
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(home-page "https://github.com/fzumstein/jsondiff")
|
||||
(synopsis "Compare JSON and JSON-like structures in Python")
|
||||
(description "@code{jsondiff} is a Python library which lets you compare,
|
||||
diff, and patch JSON and JSON-like structures in Python.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-ddlparse
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue