python38Packages.APScheduler: fix build on darwin

This commit is contained in:
Mario Rodas 2021-03-14 04:20:00 +00:00
parent 623851e197
commit c75c92f536

View file

@ -1,8 +1,11 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, setuptools-scm
, pytestCheckHook
, pytest-asyncio
, pytest-tornado
, pytestcov
, sqlalchemy
, tornado
@ -33,15 +36,16 @@ buildPythonPackage rec {
];
checkInputs = [
pytest-asyncio
pytest-tornado
pytestCheckHook
pytestcov
sqlalchemy
tornado
twisted
mock
trollius
gevent
];
] ++ lib.optionals (!isPy3k) [ trollius ];
propagatedBuildInputs = [
six
@ -51,6 +55,11 @@ buildPythonPackage rec {
setuptools
] ++ lib.optional (!isPy3k) futures;
disabledTests = lib.optionals stdenv.isDarwin [
"test_submit_job"
"test_max_instances"
];
pythonImportsCheck = [ "apscheduler" ];
meta = with lib; {