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
|
|
|
|
, msrestazure
|
2022-05-18 14:49:53 +00:00
|
|
|
, pythonOlder
|
|
|
|
, six
|
|
|
|
, typing-extensions
|
2021-12-06 16:07:01 +00:00
|
|
|
, uamqp
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-servicebus";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "7.6.1";
|
2021-12-06 16:07:01 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2022-05-18 14:49:53 +00:00
|
|
|
hash = "sha256-wqt+uWKVklP2AxiQN9PeuOFUixtZuBUIUhN+WZBYrBI=";
|
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
|
2020-04-24 23:36:52 +00:00
|
|
|
msrestazure
|
2022-05-18 14:49:53 +00:00
|
|
|
six
|
|
|
|
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";
|
|
|
|
license = licenses.mit;
|
2020-11-19 00:13:47 +00:00
|
|
|
maintainers = with maintainers; [ maxwilson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|