python.pkgs.wordcloud: simplify checkInputs
This commit is contained in:
parent
2f938b3814
commit
e2786e8e88
@ -1,16 +1,10 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||||
, codecov, coverage
|
|
||||||
, flake8
|
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, mock
|
, mock
|
||||||
, numpy
|
, numpy
|
||||||
, pillow
|
, pillow
|
||||||
, pytest
|
, pytest
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, pytest-sugar
|
|
||||||
, setuptools
|
|
||||||
, twine
|
|
||||||
, wheel
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -28,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ matplotlib numpy pillow ];
|
propagatedBuildInputs = [ matplotlib numpy pillow ];
|
||||||
|
|
||||||
# Tests require extra dependencies
|
# Tests require extra dependencies
|
||||||
checkInputs = [ codecov coverage flake8 mock pytest pytestcov pytest-sugar setuptools twine wheel ];
|
checkInputs = [ mock pytest pytestcov ];
|
||||||
# skip tests which make assumptions about installation
|
# skip tests which make assumptions about installation
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest -k 'not cli_as_executable'
|
pytest -k 'not cli_as_executable'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user