c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
58 lines
1,014 B
Nix
58 lines
1,014 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, python-crontab
|
|
, celery
|
|
, django-timezone-field
|
|
, tzdata
|
|
, ephem
|
|
, pytest-timeout
|
|
, pytest-django
|
|
, case
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-celery-beat";
|
|
version = "2.4.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-WO/pRg5Dc6JBwrPYOVGPKaKK4ZvICo26INogTH6lBhM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
python-crontab
|
|
celery
|
|
django-timezone-field
|
|
tzdata
|
|
];
|
|
|
|
checkInputs = [
|
|
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 ];
|
|
};
|
|
}
|