2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, amqp
|
2021-06-28 23:13:55 +00:00
|
|
|
, vine
|
|
|
|
, cached-property
|
|
|
|
, importlib-metadata
|
|
|
|
, azure-servicebus
|
2020-04-24 23:36:52 +00:00
|
|
|
, case
|
|
|
|
, Pyro4
|
2021-06-28 23:13:55 +00:00
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, pytz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "kombu";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "5.2.2";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "0f5d0763fb916808f617b886697b2be28e6bc35026f08e679697fc814b48a608";
|
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
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Messaging library for Python";
|
|
|
|
homepage = "https://github.com/celery/kombu";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|