python3Packages.croniter: use pytestCheckHook

This commit is contained in:
Robert Schütz 2021-03-24 09:41:47 +01:00
parent 7352df865a
commit ec7ff8b0dc

View File

@ -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";