jsondiff: patch setup.py to prevent creating bin/jsondiff

pythonPackages.jsonpatch also creates bin/jsondiff, and packages
depending on both are not usable.
This commit is contained in:
Wael M. Nasreddine 2019-07-23 14:15:39 -07:00
parent c555bc38a3
commit d99c6ccece
No known key found for this signature in database
GPG Key ID: FD437548E0BF0F5F

View File

@ -12,6 +12,10 @@ buildPythonPackage rec {
sha256 = "00v3689175aqzdscrxpffm712ylp8jvcpqdg51ca22ni6721p51l";
};
postPatch = ''
sed -e "/'jsondiff=jsondiff.cli:main_deprecated',/d" -i setup.py
'';
# No tests
doCheck = false;