Fix Python 3 support for pythonPackages.ncclient (#68226)

This commit is contained in:
Simon 2019-09-21 17:58:23 +01:00 committed by zimbatm
parent ed41f7e8f9
commit 7406bd28e0
2 changed files with 2 additions and 4 deletions

View File

@ -15,7 +15,7 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ libxml2.dev libxslt.dev ]; nativeBuildInputs = [ libxml2.dev libxslt.dev ];
buildInputs = [ libxml2 libxslt ]; propagatedBuildInputs = [ libxml2 libxslt ];
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format"; hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format";

View File

@ -4,8 +4,6 @@
, paramiko , paramiko
, selectors2 , selectors2
, lxml , lxml
, libxml2
, libxslt
, nose , nose
, rednose , rednose
}: }:
@ -22,7 +20,7 @@ buildPythonPackage rec {
checkInputs = [ nose rednose ]; checkInputs = [ nose rednose ];
propagatedBuildInputs = [ propagatedBuildInputs = [
paramiko lxml libxml2 libxslt selectors2 paramiko lxml selectors2
]; ];
checkPhase = '' checkPhase = ''