94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
60 lines
1 KiB
Nix
60 lines
1 KiB
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, python-crontab
|
|
, celery
|
|
, cron-descriptor
|
|
, django-timezone-field
|
|
, tzdata
|
|
, ephem
|
|
, pytest-timeout
|
|
, pytest-django
|
|
, case
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-celery-beat";
|
|
version = "2.5.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-zQpH9ZWEAvUawMcVvJQq4z17ULTkjLqRvD8nEr5QXfE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cron-descriptor
|
|
python-crontab
|
|
celery
|
|
django-timezone-field
|
|
tzdata
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
ephem
|
|
pytest-timeout
|
|
pytest-django
|
|
case
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# Connection error
|
|
"t/unit/test_schedulers.py"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"django_celery_beat"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Celery Periodic Tasks backed by the Django ORM";
|
|
homepage = "https://github.com/celery/django-celery-beat";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|