1{ 2 lib, 3 buildPythonPackage, 4 case, 5 celery, 6 cron-descriptor, 7 django-timezone-field, 8 ephem, 9 fetchPypi, 10 pytest-django, 11 pytest-timeout, 12 pytestCheckHook, 13 python-crontab, 14 pythonOlder, 15 setuptools, 16 tzdata, 17}: 18 19buildPythonPackage rec { 20 pname = "django-celery-beat"; 21 version = "2.6.0"; 22 pyproject = true; 23 24 disabled = pythonOlder "3.8"; 25 26 src = fetchPypi { 27 inherit pname version; 28 hash = "sha256-91stEpcx8SFL6Dg+GPrmv+rNtV3/shFs6EkiLAEG+a0="; 29 }; 30 31 nativeBuildInputs = [ setuptools ]; 32 33 propagatedBuildInputs = [ 34 cron-descriptor 35 python-crontab 36 celery 37 django-timezone-field 38 tzdata 39 ]; 40 41 nativeCheckInputs = [ 42 ephem 43 pytest-timeout 44 pytest-django 45 case 46 pytestCheckHook 47 ]; 48 49 disabledTestPaths = [ 50 # Connection error 51 "t/unit/test_schedulers.py" 52 ]; 53 54 pythonImportsCheck = [ "django_celery_beat" ]; 55 56 meta = with lib; { 57 description = "Celery Periodic Tasks backed by the Django ORM"; 58 homepage = "https://github.com/celery/django-celery-beat"; 59 changelog = "https://github.com/celery/django-celery-beat/releases/tag/v${version}"; 60 license = licenses.bsd3; 61 maintainers = with maintainers; [ onny ]; 62 }; 63}