{ lib , buildPythonPackage , fetchPypi , uamqp , azure-common , azure-core , msrestazure , futures ? null , isPy3k }: buildPythonPackage rec { pname = "azure-servicebus"; version = "7.1.1"; src = fetchPypi { inherit pname version; extension = "zip"; sha256 = "58797defe666dd17ae11a8895395e7e844f11d2076ba4a9ce63682ac02f665d9"; }; propagatedBuildInputs = [ uamqp azure-common azure-core msrestazure ] ++ lib.optionals (!isPy3k) [ futures ]; # has no tests doCheck = false; # python2 will fail due to pep 420 pythonImportsCheck = lib.optionals isPy3k [ "azure.servicebus" ]; meta = with lib; { description = "This is the Microsoft Azure Service Bus Client Library"; homepage = "https://github.com/Azure/azure-sdk-for-python"; license = licenses.mit; maintainers = with maintainers; [ maxwilson ]; }; }