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