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