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