1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 celery,
6 django,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "django-celery-results";
12 version = "2.6.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 pname = "django_celery_results";
19 inherit version;
20 hash = "sha256-mrzYNq5rYQY3eSRNiIeoj+gLv6uhQ98208sHA0ZxJ3w=";
21 };
22
23 postPatch = ''
24 # Drop malformatted tests_require specification
25 sed -i '/tests_require=/d' setup.py
26 '';
27
28 propagatedBuildInputs = [
29 celery
30 django
31 ];
32
33 # Tests need access to a database.
34 doCheck = false;
35
36 meta = with lib; {
37 description = "Celery result back end with django";
38 homepage = "https://github.com/celery/django-celery-results";
39 changelog = "https://github.com/celery/django-celery-results/blob/v{version}/Changelog";
40 license = licenses.bsd3;
41 maintainers = [ ];
42 };
43}