pythonPackages.APScheduler: run tests again
This commit is contained in:
parent
e918d6711c
commit
50b18cd9b1
1 changed files with 5 additions and 12 deletions
|
@ -1,8 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools_scm
|
, setuptools-scm
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytestcov
|
, pytestcov
|
||||||
, sqlalchemy
|
, sqlalchemy
|
||||||
, tornado
|
, tornado
|
||||||
|
@ -29,11 +29,11 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
setuptools_scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytestcov
|
pytestcov
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
tornado
|
tornado
|
||||||
|
@ -51,18 +51,11 @@ buildPythonPackage rec {
|
||||||
setuptools
|
setuptools
|
||||||
] ++ lib.optional (!isPy3k) futures;
|
] ++ lib.optional (!isPy3k) futures;
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "apscheduler" ];
|
pythonImportsCheck = [ "apscheduler" ];
|
||||||
|
|
||||||
# Somehow it cannot find pytestcov
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Python library that lets you schedule your Python code to be executed";
|
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;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue