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