2021-12-24 04:21:11 +00:00
|
|
|
{ lib
|
|
|
|
, billiard
|
|
|
|
, boto3
|
|
|
|
, buildPythonPackage
|
|
|
|
, case
|
|
|
|
, click
|
|
|
|
, click-didyoumean
|
|
|
|
, click-plugins
|
|
|
|
, click-repl
|
|
|
|
, fetchPypi
|
|
|
|
, kombu
|
|
|
|
, moto
|
|
|
|
, pymongo
|
|
|
|
, pytest-celery
|
|
|
|
, pytest-subtests
|
|
|
|
, pytest-timeout
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pytz
|
|
|
|
, vine
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "celery";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "5.2.1";
|
2021-12-24 04:21:11 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "b41a590b49caf8e6498a57db628e580d5f8dc6febda0f42de5d783aed5b7f808";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
billiard
|
|
|
|
click
|
|
|
|
click-didyoumean
|
|
|
|
click-plugins
|
|
|
|
click-repl
|
|
|
|
kombu
|
|
|
|
pytz
|
|
|
|
vine
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
boto3
|
|
|
|
case
|
|
|
|
moto
|
|
|
|
pymongo
|
|
|
|
pytest-celery
|
|
|
|
pytest-subtests
|
|
|
|
pytest-timeout
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTestPaths = [
|
|
|
|
# test_eventlet touches network
|
|
|
|
"t/unit/concurrency/test_eventlet.py"
|
|
|
|
# test_multi tries to create directories under /var
|
|
|
|
"t/unit/bin/test_multi.py"
|
|
|
|
"t/unit/apps/test_multi.py"
|
|
|
|
];
|
2020-12-09 12:39:15 +00:00
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
disabledTests = [
|
|
|
|
"msgpack"
|
|
|
|
"test_check_privileges_no_fchown"
|
|
|
|
];
|
2020-12-09 12:39:15 +00:00
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"celery"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Distributed task queue";
|
2021-12-24 04:21:11 +00:00
|
|
|
homepage = "https://github.com/celery/celery/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
2021-12-24 04:21:11 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|