mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
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:
parent
c555bc38a3
commit
d99c6ccece
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ buildPythonPackage rec {
|
|||
sha256 = "00v3689175aqzdscrxpffm712ylp8jvcpqdg51ca22ni6721p51l";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -e "/'jsondiff=jsondiff.cli:main_deprecated',/d" -i setup.py
|
||||
'';
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue