1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 setuptools,
10 typing-extensions,
11}:
12
13buildPythonPackage rec {
14 pname = "azure-mgmt-eventhub";
15 version = "11.2.0";
16 pyproject = true;
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 pname = "azure_mgmt_eventhub";
22 inherit version;
23 hash = "sha256-McR/GPc9LYM0XN5ZCVaOKIWMJUijWxDiMZS0dnqc5+M=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 azure-common
30 azure-mgmt-core
31 isodate
32 typing-extensions
33 ];
34
35 # has no tests
36 doCheck = false;
37
38 meta = with lib; {
39 description = "This is the Microsoft Azure EventHub Management Client Library";
40 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-mgmt-eventhub";
41 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-eventhub_${version}/sdk/eventhub/azure-mgmt-eventhub/CHANGELOG.md";
42 license = licenses.mit;
43 maintainers = with maintainers; [ maxwilson ];
44 };
45}