python27Packages.parsel: fix dependencies
This commit is contained in:
parent
38cb787e6d
commit
6e8456ef71
@ -8,6 +8,7 @@
|
||||
, w3lib
|
||||
, lxml
|
||||
, cssselect
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -20,7 +21,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
propagatedBuildInputs = [ functools32 six w3lib lxml cssselect ];
|
||||
propagatedBuildInputs = [ six w3lib lxml cssselect ] ++ lib.optionals isPy27 [ functools32 ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
|
Loading…
Reference in New Issue
Block a user