1{ lib
2, azure-common
3, azure-mgmt-core
4, azure-mgmt-nspkg
5, buildPythonPackage
6, fetchPypi
7, isodate
8, pythonOlder
9, typing-extensions
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-containerservice";
14 version = "27.0.0";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-IdGo2A65YiMJJ8S18Ji+FfnnylNhs8vFOQpfA91wgNM=";
22 };
23
24 propagatedBuildInputs = [
25 azure-common
26 azure-mgmt-core
27 isodate
28 ] ++ lib.optionals (pythonOlder "3.8") [
29 typing-extensions
30 ];
31
32 # has no tests
33 doCheck = false;
34
35 pythonImportsCheck = [
36 "azure.mgmt.containerservice"
37 ];
38
39 meta = with lib; {
40 description = "This is the Microsoft Azure Container Service Management Client Library";
41 homepage = "https://github.com/Azure/azure-sdk-for-python";
42 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerservice_${version}/sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md";
43 license = licenses.mit;
44 maintainers = with maintainers; [ maxwilson ];
45 };
46}