mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
python.pkgs.wordcloud: simplify checkInputs
This commit is contained in:
parent
2f938b3814
commit
e2786e8e88
@ -1,18 +1,12 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, codecov, coverage
|
||||
, flake8
|
||||
, matplotlib
|
||||
, mock
|
||||
, numpy
|
||||
, pillow
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-sugar
|
||||
, setuptools
|
||||
, twine
|
||||
, wheel
|
||||
}:
|
||||
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "word_cloud";
|
||||
version = "1.6.0";
|
||||
@ -28,12 +22,12 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ matplotlib numpy pillow ];
|
||||
|
||||
# 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
|
||||
checkPhase = ''
|
||||
pytest -k 'not cli_as_executable'
|
||||
'';
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A little word cloud generator in Python";
|
||||
homepage = "https://github.com/amueller/word_cloud";
|
||||
|
Loading…
Reference in New Issue
Block a user