Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 41 lines 841 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, uamqp 5, azure-common 6, msrestazure 7, futures 8, isPy3k 9}: 10 11buildPythonPackage rec { 12 pname = "azure-servicebus"; 13 version = "0.50.3"; 14 15 src = fetchPypi { 16 inherit pname version; 17 extension = "zip"; 18 sha256 = "2b1e60c81fcf5b6a5bb3ceddb27f24543f479912e39a4706a390a16d8c0a71f4"; 19 }; 20 21 buildInputs = [ 22 uamqp 23 azure-common 24 msrestazure 25 ] ++ lib.optionals (!isPy3k) [ 26 futures 27 ]; 28 29 # has no tests 30 doCheck = false; 31 32 # python2 will fail due to pep 420 33 pythonImportsCheck = lib.optionals isPy3k [ "azure.servicebus" ]; 34 35 meta = with lib; { 36 description = "This is the Microsoft Azure Service Bus Client Library"; 37 homepage = "https://github.com/Azure/azure-sdk-for-python"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ mwilsoninsight ]; 40 }; 41}