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