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-network";
15 version = "29.0.0";
16 pyproject = true;
17
18 disabled = pythonOlder "3.9";
19
20 src = fetchPypi {
21 pname = "azure_mgmt_network";
22 inherit version;
23 hash = "sha256-V3+8dqGV90S5e6xCdeESeffz5jxlnZh3PztKmm4JQ7k=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 azure-common
30 azure-mgmt-core
31 isodate
32 typing-extensions
33 ];
34
35 # Module has no tests
36 doCheck = false;
37
38 pythonNamespaces = [ "azure.mgmt" ];
39
40 pythonImportsCheck = [ "azure.mgmt.network" ];
41
42 meta = with lib; {
43 description = "Microsoft Azure SDK for Python";
44 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/network/azure-mgmt-network";
45 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-network_${version}/sdk/network/azure-mgmt-network/CHANGELOG.md";
46 license = licenses.mit;
47 maintainers = with maintainers; [
48 olcai
49 maxwilson
50 ];
51 };
52}