pythonPackages.wurlitzer: add missing python2 dependencies

This commit is contained in:
Jonathan Ringer 2019-11-06 11:28:15 -08:00 committed by Jon
parent e9453fc878
commit 920faee436

View file

@ -1,8 +1,10 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, mock
, pytest
, selectors2
}:
buildPythonPackage rec {
@ -14,6 +16,8 @@ buildPythonPackage rec {
sha256 = "0xndv47iwc9k8cp5r9r1z3r0xww0r5x5b7qsmn39gk2gsg0119c6";
};
propagatedBuildInputs = lib.optionals isPy27 [ selectors2 ];
checkInputs = [ mock pytest ];
checkPhase = ''
@ -25,4 +29,4 @@ buildPythonPackage rec {
homepage = https://github.com/minrk/wurlitzer;
license = lib.licenses.mit;
};
}
}