2017-12-30 17:12:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsondiff";
|
2019-07-23 21:14:57 +00:00
|
|
|
version = "1.2.0";
|
2017-12-30 17:12:01 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-23 21:14:57 +00:00
|
|
|
sha256 = "00v3689175aqzdscrxpffm712ylp8jvcpqdg51ca22ni6721p51l";
|
2017-12-30 17:12:01 +00:00
|
|
|
};
|
|
|
|
|
2019-07-23 21:15:39 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -e "/'jsondiff=jsondiff.cli:main_deprecated',/d" -i setup.py
|
|
|
|
'';
|
|
|
|
|
2017-12-30 17:12:01 +00:00
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Diff JSON and JSON-like structures in Python";
|
|
|
|
homepage = https://github.com/ZoomerAnalytics/jsondiff;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
2019-07-23 21:14:57 +00:00
|
|
|
}
|