diff --git a/pkgs/apps/polyply/default.nix b/pkgs/apps/polyply/default.nix index d52e562d..c67b9573 100644 --- a/pkgs/apps/polyply/default.nix +++ b/pkgs/apps/polyply/default.nix @@ -23,7 +23,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.cfg \ - --replace "decorator == 4.4.2" "" + --replace "decorator == 4.4.2" "" \ + --replace 'networkx ~= 2.0' 'networkx' ''; propagatedBuildInputs = [ diff --git a/pkgs/apps/vermouth/default.nix b/pkgs/apps/vermouth/default.nix index a42d5684..85e9171a 100644 --- a/pkgs/apps/vermouth/default.nix +++ b/pkgs/apps/vermouth/default.nix @@ -11,6 +11,10 @@ buildPythonPackage rec { hash = "sha256-Ix17LRY8f9z9UBDELbpaIO7Tt2SvxKtIXr0kgCV24cE="; }; + postPatch = '' + substituteInPlace ./setup.cfg --replace 'networkx ~= 2.0' 'networkx' + ''; + nativeBuildInputs = [ pbr ]; propagatedBuildInputs = [ numpy