2017-12-30 09:12:01 -08:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsondiff";
|
2019-07-23 14:14:57 -07:00
|
|
|
version = "1.2.0";
|
2017-12-30 09:12:01 -08:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-23 14:14:57 -07:00
|
|
|
sha256 = "00v3689175aqzdscrxpffm712ylp8jvcpqdg51ca22ni6721p51l";
|
2017-12-30 09:12:01 -08:00
|
|
|
};
|
|
|
|
|
2019-07-23 14:15:39 -07:00
|
|
|
postPatch = ''
|
|
|
|
sed -e "/'jsondiff=jsondiff.cli:main_deprecated',/d" -i setup.py
|
|
|
|
'';
|
|
|
|
|
2017-12-30 09:12:01 -08: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 14:14:57 -07:00
|
|
|
}
|