diff --git a/pkgs/development/python-modules/APScheduler/default.nix b/pkgs/development/python-modules/APScheduler/default.nix index 32a9dda6c876..507147dc8d6f 100644 --- a/pkgs/development/python-modules/APScheduler/default.nix +++ b/pkgs/development/python-modules/APScheduler/default.nix @@ -1,8 +1,8 @@ { lib , buildPythonPackage , fetchPypi -, setuptools_scm -, pytest +, setuptools-scm +, pytestCheckHook , pytestcov , sqlalchemy , tornado @@ -29,11 +29,11 @@ buildPythonPackage rec { }; buildInputs = [ - setuptools_scm + setuptools-scm ]; checkInputs = [ - pytest + pytestCheckHook pytestcov sqlalchemy tornado @@ -51,18 +51,11 @@ buildPythonPackage rec { setuptools ] ++ lib.optional (!isPy3k) futures; - checkPhase = '' - py.test - ''; - pythonImportsCheck = [ "apscheduler" ]; - # Somehow it cannot find pytestcov - doCheck = false; - meta = with lib; { description = "A Python library that lets you schedule your Python code to be executed"; - homepage = "https://pypi.python.org/pypi/APScheduler/"; + homepage = "https://github.com/agronholm/apscheduler"; license = licenses.mit; }; }