From d99c6ccecebe0723d8700d5677f699b632f56fd9 Mon Sep 17 00:00:00 2001 From: "Wael M. Nasreddine" Date: Tue, 23 Jul 2019 14:15:39 -0700 Subject: [PATCH] jsondiff: patch setup.py to prevent creating bin/jsondiff pythonPackages.jsonpatch also creates bin/jsondiff, and packages depending on both are not usable. --- pkgs/development/python-modules/jsondiff/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/jsondiff/default.nix b/pkgs/development/python-modules/jsondiff/default.nix index 73017ee68b1..6b254a7221a 100644 --- a/pkgs/development/python-modules/jsondiff/default.nix +++ b/pkgs/development/python-modules/jsondiff/default.nix @@ -12,6 +12,10 @@ buildPythonPackage rec { sha256 = "00v3689175aqzdscrxpffm712ylp8jvcpqdg51ca22ni6721p51l"; }; + postPatch = '' + sed -e "/'jsondiff=jsondiff.cli:main_deprecated',/d" -i setup.py + ''; + # No tests doCheck = false;