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