Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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-applicationinsights"; 15 version = "4.0.0"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 inherit pname version; 20 extension = "zip"; 21 hash = "sha256-UMPbBVc+DMLVYxSgVW+zRu8F7EiawAD01yDZLGtkfgY="; 22 }; 23 24 propagatedBuildInputs = [ 25 azure-common 26 azure-mgmt-core 27 msrest 28 msrestazure 29 ] 30 ++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ]; 31 32 pythonNamespaces = [ "azure.mgmt" ]; 33 34 # has no tests 35 doCheck = false; 36 37 meta = with lib; { 38 description = "This is the Microsoft Azure Application Insights Management Client Library"; 39 homepage = "https://github.com/Azure/azure-sdk-for-python"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ 42 maxwilson 43 ]; 44 }; 45}