Files
nixpkgs/pkgs/development/python-modules/django-celery-beat/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

66 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
celery,
cron-descriptor,
django-timezone-field,
ephem,
fetchFromGitHub,
pytest-django,
pytest-timeout,
pytestCheckHook,
python-crontab,
pythonOlder,
setuptools,
tzdata,
}:
buildPythonPackage rec {
pname = "django-celery-beat";
version = "2.8.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "celery";
repo = "django-celery-beat";
tag = "v${version}";
hash = "sha256-pakOpch5r2ug0UDSqEU34qr4Tz1/mkuFiHW+IOUuGcc=";
};
pythonRelaxDeps = [ "django" ];
build-system = [ setuptools ];
dependencies = [
cron-descriptor
python-crontab
celery
django-timezone-field
tzdata
];
nativeCheckInputs = [
ephem
pytest-timeout
pytest-django
pytestCheckHook
];
disabledTestPaths = [
# Connection error
"t/unit/test_schedulers.py"
];
pythonImportsCheck = [ "django_celery_beat" ];
meta = {
description = "Celery Periodic Tasks backed by the Django ORM";
homepage = "https://github.com/celery/django-celery-beat";
changelog = "https://github.com/celery/django-celery-beat/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ onny ];
};
}