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