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