pythonPackages.APScheduler: run tests again

This commit is contained in:
Sandro Jäckel 2021-03-07 00:36:39 +01:00
parent e918d6711c
commit 50b18cd9b1
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

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