Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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-containerservice"; 14 version = "23.0.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 extension = "zip"; 22 hash = "sha256-V8IUTQvbUSOpsqkGfBqLo4DVIB7fryYMVx6WpfWzOnc="; 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.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}