2021-06-20 17:25:45 +00:00
|
|
|
{ lib
|
2019-10-27 16:37:13 +00:00
|
|
|
, amqp
|
2021-06-20 17:25:45 +00:00
|
|
|
, azure-servicebus
|
2022-01-13 13:49:49 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, cached-property
|
2019-10-27 16:37:13 +00:00
|
|
|
, case
|
2022-01-13 13:49:49 +00:00
|
|
|
, fetchPypi
|
|
|
|
, importlib-metadata
|
2019-10-27 16:37:13 +00:00
|
|
|
, Pyro4
|
2021-06-20 17:25:45 +00:00
|
|
|
, pytestCheckHook
|
2022-01-13 13:49:49 +00:00
|
|
|
, pythonOlder
|
2019-10-27 16:37:13 +00:00
|
|
|
, pytz
|
2022-01-13 13:49:49 +00:00
|
|
|
, vine
|
2019-10-27 16:37:13 +00:00
|
|
|
}:
|
2018-07-14 11:19:09 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-02-14 23:01:55 +00:00
|
|
|
pname = "kombu";
|
2022-03-07 08:59:05 +00:00
|
|
|
version = "5.2.4";
|
2022-01-13 13:49:49 +00:00
|
|
|
format = "setuptools";
|
2018-07-14 11:19:09 +00:00
|
|
|
|
2022-01-13 13:49:49 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2021-06-20 17:25:45 +00:00
|
|
|
|
2018-07-14 11:19:09 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-07 08:59:05 +00:00
|
|
|
hash = "sha256-N87j7nJflOqLsXPqq3wXYCA+pTu+uuImMoYA+dJ5lhA=";
|
2018-07-14 11:19:09 +00:00
|
|
|
};
|
|
|
|
|
2020-03-12 10:00:21 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
amqp
|
2021-06-20 17:25:45 +00:00
|
|
|
vine
|
2020-03-12 10:00:21 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.8") [
|
2021-06-20 17:25:45 +00:00
|
|
|
cached-property
|
2020-03-12 10:00:21 +00:00
|
|
|
importlib-metadata
|
|
|
|
];
|
2018-07-14 11:19:09 +00:00
|
|
|
|
2021-06-20 17:25:45 +00:00
|
|
|
checkInputs = [
|
|
|
|
azure-servicebus
|
|
|
|
case
|
|
|
|
Pyro4
|
|
|
|
pytestCheckHook
|
|
|
|
pytz
|
|
|
|
];
|
2019-10-27 16:37:13 +00:00
|
|
|
|
2022-01-13 13:49:49 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"kombu"
|
|
|
|
];
|
|
|
|
|
2018-07-14 11:19:09 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Messaging library for Python";
|
2022-01-13 13:49:49 +00:00
|
|
|
homepage = "https://github.com/celery/kombu";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2018-07-14 11:19:09 +00:00
|
|
|
};
|
|
|
|
}
|