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 { 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