2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsondiff";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "2.0.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-J5WETvB17IorjThcTVn16kiwjnGA/OPLJ4e+DbALH7Q=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -e "/'jsondiff=jsondiff.cli:main_deprecated',/d" -i setup.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Diff JSON and JSON-like structures in Python";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "jdiff";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/ZoomerAnalytics/jsondiff";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|