python27Packages.parsel: fix dependencies

This commit is contained in:
Mario Rodas 2020-05-24 04:20:00 -05:00
parent 38cb787e6d
commit 6e8456ef71
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -8,6 +8,7 @@
, w3lib , w3lib
, lxml , lxml
, cssselect , cssselect
, isPy27
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -20,7 +21,7 @@ buildPythonPackage rec {
}; };
checkInputs = [ pytest pytestrunner ]; checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ functools32 six w3lib lxml cssselect ]; propagatedBuildInputs = [ six w3lib lxml cssselect ] ++ lib.optionals isPy27 [ functools32 ];
checkPhase = '' checkPhase = ''
py.test py.test