2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, amqp
|
2023-07-15 17:15:38 +00:00
|
|
|
, azure-identity
|
2021-06-28 23:13:55 +00:00
|
|
|
, azure-servicebus
|
2023-07-15 17:15:38 +00:00
|
|
|
, backports-zoneinfo
|
2022-01-13 20:06:32 +00:00
|
|
|
, buildPythonPackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, case
|
2022-01-13 20:06:32 +00:00
|
|
|
, fetchPypi
|
2023-07-15 17:15:38 +00:00
|
|
|
, hypothesis
|
2023-03-15 16:39:30 +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
|
2023-08-10 07:59:29 +00:00
|
|
|
, typing-extensions
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "kombu";
|
2023-08-10 07:59:29 +00:00
|
|
|
version = "5.3.1";
|
2022-01-13 20:06:32 +00:00
|
|
|
format = "setuptools";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-08-10 07:59:29 +00:00
|
|
|
hash = "sha256-+9dXLZLAv3HBEqa0UWMVPepae2pwHsFrVown0P0jcPI=";
|
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
|
2023-08-10 07:59:29 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.10") [
|
|
|
|
typing-extensions
|
2023-07-15 17:15:38 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.9") [
|
|
|
|
backports-zoneinfo
|
2020-05-03 17:38:23 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-07-15 17:15:38 +00:00
|
|
|
azure-identity
|
2021-06-28 23:13:55 +00:00
|
|
|
azure-servicebus
|
|
|
|
case
|
2023-07-15 17:15:38 +00:00
|
|
|
hypothesis
|
2023-03-15 16:39:30 +00:00
|
|
|
pyro4
|
2021-06-28 23:13:55 +00:00
|
|
|
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; {
|
2023-08-10 07:59:29 +00:00
|
|
|
changelog = "https://github.com/celery/kombu/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|