1{ lib
2, azure-common
3, azure-core
4, buildPythonPackage
5, fetchPypi
6, isodate
7, msrest
8, pythonOlder
9, typing-extensions
10, uamqp
11}:
12
13buildPythonPackage rec {
14 pname = "azure-servicebus";
15 version = "7.11.4";
16 format = "setuptools";
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-970pd5G2pXfONqOeoKuxCqD4dba7DTFSLtntK7AojUw=";
23 };
24
25 propagatedBuildInputs = [
26 azure-common
27 azure-core
28 isodate
29 msrest
30 typing-extensions
31 uamqp
32 ];
33
34 # Tests require dev-tools
35 doCheck = false;
36
37 pythonImportsCheck = [
38 "azure.servicebus"
39 ];
40
41 meta = with lib; {
42 description = "Microsoft Azure Service Bus Client Library";
43 homepage = "https://github.com/Azure/azure-sdk-for-python";
44 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-servicebus_${version}/sdk/servicebus/azure-servicebus/CHANGELOG.md";
45 license = licenses.mit;
46 maintainers = with maintainers; [ maxwilson ];
47 };
48}