1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-network";
14 version = "28.1.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchPypi {
20 pname = "azure_mgmt_network";
21 inherit version;
22 hash = "sha256-jIS/+17HXG4CROWOzwfADV/EIdYWsMs2nG/lha8zz4c=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [
28 azure-common
29 azure-mgmt-core
30 isodate
31 ];
32
33 # Module has no tests
34 doCheck = false;
35
36 pythonNamespaces = [ "azure.mgmt" ];
37
38 pythonImportsCheck = [ "azure.mgmt.network" ];
39
40 meta = with lib; {
41 description = "Microsoft Azure SDK for Python";
42 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/network/azure-mgmt-network";
43 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-network_${version}/sdk/network/azure-mgmt-network/CHANGELOG.md";
44 license = licenses.mit;
45 maintainers = with maintainers; [
46 olcai
47 maxwilson
48 ];
49 };
50}