2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
case,
|
|
|
|
celery,
|
|
|
|
cron-descriptor,
|
|
|
|
django-timezone-field,
|
|
|
|
ephem,
|
|
|
|
fetchPypi,
|
|
|
|
pytest-django,
|
|
|
|
pytest-timeout,
|
|
|
|
pytestCheckHook,
|
|
|
|
python-crontab,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
|
|
|
tzdata,
|
2022-10-21 18:38:19 +00:00
|
|
|
}:
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-celery-beat";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.6.0";
|
|
|
|
pyproject = true;
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-91stEpcx8SFL6Dg+GPrmv+rNtV3/shFs6EkiLAEG+a0=";
|
2022-07-18 16:21:45 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2022-07-18 16:21:45 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-05-24 13:37:59 +00:00
|
|
|
cron-descriptor
|
2022-07-18 16:21:45 +00:00
|
|
|
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"
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +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";
|
2024-04-21 15:54:59 +00:00
|
|
|
changelog = "https://github.com/celery/django-celery-beat/releases/tag/v${version}";
|
2022-07-18 16:21:45 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
};
|
|
|
|
}
|