python.pkgs.ics: simplify tests
This commit is contained in:
parent
e2786e8e88
commit
91859703cf
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||||
, tatsu, arrow
|
, tatsu, arrow
|
||||||
, pytest-sugar, pytestpep8, pytest-flakes, pytestcov
|
, pytestCheckHook, pytestpep8, pytest-flakes
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -22,10 +22,7 @@ buildPythonPackage rec {
|
||||||
--replace "arrow>=0.11,<0.15" "arrow"
|
--replace "arrow>=0.11,<0.15" "arrow"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ pytest-sugar pytestpep8 pytest-flakes pytestcov ];
|
checkInputs = [ pytestCheckHook pytestpep8 pytest-flakes ];
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Pythonic and easy iCalendar library (RFC 5545)";
|
description = "Pythonic and easy iCalendar library (RFC 5545)";
|
||||||
|
|
Loading…
Reference in New Issue