2022-07-18 16:21:45 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, python-crontab
|
|
|
|
, celery
|
|
|
|
, django-timezone-field
|
|
|
|
, tzdata
|
|
|
|
, ephem
|
|
|
|
, pytest-timeout
|
|
|
|
, pytest-django
|
|
|
|
, case
|
2022-10-21 18:38:19 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-celery-beat";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "2.4.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-10-21 18:38:19 +00:00
|
|
|
hash = "sha256-WO/pRg5Dc6JBwrPYOVGPKaKK4ZvICo26INogTH6lBhM=";
|
2022-07-18 16:21:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
python-crontab
|
|
|
|
celery
|
|
|
|
django-timezone-field
|
|
|
|
tzdata
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-07-18 16:21:45 +00:00
|
|
|
ephem
|
|
|
|
pytest-timeout
|
|
|
|
pytest-django
|
|
|
|
case
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTestPaths = [
|
|
|
|
# Connection error
|
|
|
|
"t/unit/test_schedulers.py"
|
|
|
|
];
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"django_celery_beat"
|
|
|
|
];
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|