depot/third_party/nixpkgs/pkgs/development/python-modules/APScheduler/default.nix
Default email 07b8fe0546 Project import generated by Copybara.
GitOrigin-RevId: 916ee862e87ac5ee2439f2fb7856386b4dc906ae
2021-03-12 08:09:13 +01:00

61 lines
971 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, pytestCheckHook
, pytestcov
, sqlalchemy
, tornado
, twisted
, mock
, trollius
, gevent
, six
, pytz
, tzlocal
, funcsigs
, futures
, setuptools
, isPy3k
}:
buildPythonPackage rec {
pname = "APScheduler";
version = "3.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "1cab7f2521e107d07127b042155b632b7a1cd5e02c34be5a28ff62f77c900c6a";
};
buildInputs = [
setuptools-scm
];
checkInputs = [
pytestCheckHook
pytestcov
sqlalchemy
tornado
twisted
mock
trollius
gevent
];
propagatedBuildInputs = [
six
pytz
tzlocal
funcsigs
setuptools
] ++ lib.optional (!isPy3k) futures;
pythonImportsCheck = [ "apscheduler" ];
meta = with lib; {
description = "A Python library that lets you schedule your Python code to be executed";
homepage = "https://github.com/agronholm/apscheduler";
license = licenses.mit;
};
}