2017-12-30 17:12:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsondiff";
|
2019-07-23 22:14:57 +01:00
|
|
|
version = "1.2.0";
|
2017-12-30 17:12:01 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-23 22:14:57 +01:00
|
|
|
sha256 = "00v3689175aqzdscrxpffm712ylp8jvcpqdg51ca22ni6721p51l";
|
2017-12-30 17:12:01 +00:00
|
|
|
};
|
|
|
|
|
2019-07-23 22:15:39 +01: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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ZoomerAnalytics/jsondiff";
|
2017-12-30 17:12:01 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
2019-07-23 22:14:57 +01:00
|
|
|
}
|