Skip to content

Commit

Permalink
jsondiff: patch setup.py to prevent creating bin/jsondiff
Browse files Browse the repository at this point in the history
pythonPackages.jsonpatch also creates bin/jsondiff, and packages
depending on both are not usable.
  • Loading branch information
kalbasit committed Jul 25, 2019
1 parent c555bc3 commit d99c6cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/jsondiff/default.nix
Expand Up @@ -12,6 +12,10 @@ buildPythonPackage rec {
sha256 = "00v3689175aqzdscrxpffm712ylp8jvcpqdg51ca22ni6721p51l";
};

postPatch = ''
sed -e "/'jsondiff=jsondiff.cli:main_deprecated',/d" -i setup.py
'';

# No tests
doCheck = false;

Expand Down

0 comments on commit d99c6cc

Please sign in to comment.