pythonPackages.cli-helpers: fix dependencies (#52692)

This commit is contained in:
Yannis Koutras 2018-12-23 18:09:45 +02:00 committed by Robert Schütz
parent 07adbdf1e7
commit 7cb982776e

View File

@ -1,11 +1,13 @@
{ lib
, buildPythonPackage
, fetchPypi
, configobj
, terminaltables
, tabulate
, backports_csv
, wcwidth
, pytest
, mock
, isPy27
}:
@ -19,12 +21,13 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
configobj
terminaltables
tabulate
wcwidth
] ++ (lib.optionals isPy27 [ backports_csv ]);
checkInputs = [ pytest ];
checkInputs = [ pytest mock ];
checkPhase = ''
py.test