python3Packages.croniter: use pytestCheckHook
This commit is contained in:
parent
7352df865a
commit
ec7ff8b0dc
@ -2,7 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytz
|
, pytz
|
||||||
, natsort
|
, natsort
|
||||||
, tzlocal
|
, tzlocal
|
||||||
@ -23,15 +23,11 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytz
|
pytz
|
||||||
tzlocal
|
tzlocal
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest src/croniter
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "croniter provides iteration for datetime object with cron like format";
|
description = "croniter provides iteration for datetime object with cron like format";
|
||||||
homepage = "https://github.com/kiorky/croniter";
|
homepage = "https://github.com/kiorky/croniter";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user