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-06 16:07:01 +00:00
|
|
|
version = "5.2.1";
|
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-06 16:07:01 +00:00
|
|
|
sha256 = "f262a2adc71b53e5b7dad4933bbdee65d8766ca4df6a9043b13edaad2144aaec";
|
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;
|
|
|
|
};
|
|
|
|
}
|