2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, azure-common
|
2020-11-30 08:33:03 +00:00
|
|
|
, azure-core
|
2021-12-06 16:07:01 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isodate
|
2023-10-09 19:29:22 +00:00
|
|
|
, msrest
|
2022-05-18 14:49:53 +00:00
|
|
|
, pythonOlder
|
|
|
|
, typing-extensions
|
2021-12-06 16:07:01 +00:00
|
|
|
, uamqp
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-servicebus";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "7.11.4";
|
2021-12-06 16:07:01 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-970pd5G2pXfONqOeoKuxCqD4dba7DTFSLtntK7AojUw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
propagatedBuildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
azure-common
|
2020-11-30 08:33:03 +00:00
|
|
|
azure-core
|
2021-12-06 16:07:01 +00:00
|
|
|
isodate
|
2023-10-09 19:29:22 +00:00
|
|
|
msrest
|
2022-05-18 14:49:53 +00:00
|
|
|
typing-extensions
|
2021-12-06 16:07:01 +00:00
|
|
|
uamqp
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
# Tests require dev-tools
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
pythonImportsCheck = [
|
2021-12-06 16:07:01 +00:00
|
|
|
"azure.servicebus"
|
|
|
|
];
|
2020-06-18 07:06:33 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
2021-06-28 23:13:55 +00:00
|
|
|
description = "Microsoft Azure Service Bus Client Library";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2023-10-09 19:29:22 +00:00
|
|
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-servicebus_${version}/sdk/servicebus/azure-servicebus/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2020-11-19 00:13:47 +00:00
|
|
|
maintainers = with maintainers; [ maxwilson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|