2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-03-12 07:09:13 +00:00
|
|
|
, setuptools-scm
|
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, pytestcov
|
|
|
|
, sqlalchemy
|
|
|
|
, tornado
|
|
|
|
, twisted
|
|
|
|
, mock
|
|
|
|
, trollius
|
|
|
|
, gevent
|
|
|
|
, six
|
|
|
|
, pytz
|
|
|
|
, tzlocal
|
|
|
|
, funcsigs
|
|
|
|
, futures
|
2021-03-09 03:18:52 +00:00
|
|
|
, setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "APScheduler";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "3.7.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "1cab7f2521e107d07127b042155b632b7a1cd5e02c34be5a28ff62f77c900c6a";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-03-12 07:09:13 +00:00
|
|
|
setuptools-scm
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-03-12 07:09:13 +00:00
|
|
|
pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
pytestcov
|
|
|
|
sqlalchemy
|
|
|
|
tornado
|
|
|
|
twisted
|
|
|
|
mock
|
|
|
|
trollius
|
|
|
|
gevent
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
pytz
|
|
|
|
tzlocal
|
|
|
|
funcsigs
|
2021-03-09 03:18:52 +00:00
|
|
|
setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
] ++ lib.optional (!isPy3k) futures;
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
pythonImportsCheck = [ "apscheduler" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A Python library that lets you schedule your Python code to be executed";
|
2021-03-12 07:09:13 +00:00
|
|
|
homepage = "https://github.com/agronholm/apscheduler";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|