1{ lib
2, buildPythonPackage
3, fetchPypi
4, msrest
5, msrestazure
6, azure-common
7, azure-mgmt-core
8, azure-mgmt-nspkg
9, pythonOlder
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-containerinstance";
14 version = "10.1.0";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 inherit pname version;
21 extension = "zip";
22 hash = "sha256-eNQ3rbKFdPRIyDjtXwH5ztN4GWCYBh3rWdn3AxcEwX4=";
23 };
24
25 propagatedBuildInputs = [
26 msrest
27 msrestazure
28 azure-common
29 azure-mgmt-core
30 ];
31
32 # has no tests
33 doCheck = false;
34
35 pythonImportsCheck = [
36 "azure.mgmt.containerinstance"
37 ];
38
39 meta = with lib; {
40 description = "This is the Microsoft Azure Container Instance Client Library";
41 homepage = "https://github.com/Azure/azure-sdk-for-python";
42 license = licenses.mit;
43 maintainers = with maintainers; [ maxwilson ];
44 };
45}