2017-12-30 17:12:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsondiff";
|
2021-06-18 22:47:23 +01:00
|
|
|
version = "1.3.0";
|
2017-12-30 17:12:01 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:23 +01:00
|
|
|
sha256 = "5122bf4708a031b02db029366184a87c5d0ddd5a327a5884ee6cf0193e599d71";
|
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
|
|
|
}
|