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