1{ lib
2, buildPythonPackage
3, fetchPypi
4, azure-common
5, azure-mgmt-core
6, msrest
7, msrestazure
8, pythonOlder
9}:
10
11buildPythonPackage rec {
12 version = "23.1.0";
13 pname = "azure-mgmt-network";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.6";
17
18 src = fetchPypi {
19 inherit pname version;
20 extension = "zip";
21 hash = "sha256-NxcmmRE4MdfOG7naNcY1AHxzz/xUmoWlj1VUK1SxK/M=";
22 };
23
24 propagatedBuildInputs = [
25 azure-common
26 azure-mgmt-core
27 msrest
28 msrestazure
29 ];
30
31 # Module has no tests
32 doCheck = false;
33
34 pythonNamespaces = [
35 "azure.mgmt"
36 ];
37
38 pythonImportsCheck = [
39 "azure.mgmt.network"
40 ];
41
42 meta = with lib; {
43 description = "Microsoft Azure SDK for Python";
44 homepage = "https://github.com/Azure/azure-sdk-for-python";
45 license = licenses.mit;
46 maintainers = with maintainers; [ olcai maxwilson jonringer ];
47 };
48}