1 { lib, buildPythonPackage, fetchPypi
2 , billiard, click, click-didyoumean, click-plugins, click-repl, kombu, pytz, vine
3 , boto3, case, moto, pytest, pytest-celery, pytest-subtests, pytest-timeout
6 buildPythonPackage rec {
11 inherit pname version;
12 sha256 = "f4efebe6f8629b0da2b8e529424de376494f5b7a743c321c8a2ddc2b1414921c";
16 substituteInPlace requirements/test.txt \
17 --replace "moto==1.3.7" moto
20 propagatedBuildInputs = [ billiard click click-didyoumean click-plugins click-repl kombu pytz vine ];
22 checkInputs = [ boto3 case moto pytest pytest-celery pytest-subtests pytest-timeout ];
24 # ignore test that's incompatible with pytest5
25 # test_eventlet touches network
26 # test_mongodb requires pymongo
27 # test_multi tries to create directories under /var
29 pytest -k 'not restore_current_app_fallback and not msgpack and not on_apply and not pytest' \
30 --ignore=t/unit/contrib/test_pytest.py \
31 --ignore=t/unit/concurrency/test_eventlet.py \
32 --ignore=t/unit/bin/test_multi.py \
33 --ignore=t/unit/apps/test_multi.py \
34 --ignore=t/unit/backends/test_mongodb.py
38 homepage = "https://github.com/celery/celery/";
39 description = "Distributed task queue";
40 license = licenses.bsd3;