mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
aac0e163dc
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-apscheduler/versions
64 lines
962 B
Nix
64 lines
962 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools_scm
|
|
, pytest
|
|
, pytestcov
|
|
, sqlalchemy
|
|
, tornado
|
|
, twisted
|
|
, mock
|
|
, trollius
|
|
, gevent
|
|
, six
|
|
, pytz
|
|
, tzlocal
|
|
, funcsigs
|
|
, futures
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "APScheduler";
|
|
version = "3.6.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1c56066rx09xk1zbd156whsynlakxazqq64i509id17015wzp6jj";
|
|
};
|
|
|
|
buildInputs = [
|
|
setuptools_scm
|
|
];
|
|
|
|
checkInputs = [
|
|
pytest
|
|
pytestcov
|
|
sqlalchemy
|
|
tornado
|
|
twisted
|
|
mock
|
|
trollius
|
|
gevent
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
pytz
|
|
tzlocal
|
|
funcsigs
|
|
] ++ lib.optional (!isPy3k) futures;
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
# 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/;
|
|
license = licenses.mit;
|
|
};
|
|
} |