1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "jsondiff";
8 version = "2.0.0";
9
10 src = fetchPypi {
11 inherit pname version;
12 hash = "sha256-J5WETvB17IorjThcTVn16kiwjnGA/OPLJ4e+DbALH7Q=";
13 };
14
15 postPatch = ''
16 sed -e "/'jsondiff=jsondiff.cli:main_deprecated',/d" -i setup.py
17 '';
18
19 # No tests
20 doCheck = false;
21
22 meta = {
23 description = "Diff JSON and JSON-like structures in Python";
24 homepage = "https://github.com/ZoomerAnalytics/jsondiff";
25 license = lib.licenses.mit;
26 };
27}