pythonPackages.cli-helpers: fix dependencies (#52692)
This commit is contained in:
parent
07adbdf1e7
commit
7cb982776e
@ -1,11 +1,13 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, configobj
|
||||||
, terminaltables
|
, terminaltables
|
||||||
, tabulate
|
, tabulate
|
||||||
, backports_csv
|
, backports_csv
|
||||||
, wcwidth
|
, wcwidth
|
||||||
, pytest
|
, pytest
|
||||||
|
, mock
|
||||||
, isPy27
|
, isPy27
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,12 +21,13 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
configobj
|
||||||
terminaltables
|
terminaltables
|
||||||
tabulate
|
tabulate
|
||||||
wcwidth
|
wcwidth
|
||||||
] ++ (lib.optionals isPy27 [ backports_csv ]);
|
] ++ (lib.optionals isPy27 [ backports_csv ]);
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest mock ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user