at 22.05-pre 48 lines 908 B view raw
1{ lib 2, azure-common 3, azure-core 4, buildPythonPackage 5, fetchPypi 6, futures ? null 7, isodate 8, isPy3k 9, msrestazure 10, uamqp 11}: 12 13buildPythonPackage rec { 14 pname = "azure-servicebus"; 15 version = "7.4.0"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 inherit pname version; 20 extension = "zip"; 21 sha256 = "sha256-nlt4wNHI613tK7JB85fBW2LE/FOa8+2aLeT6wzP1PQ4="; 22 }; 23 24 propagatedBuildInputs = [ 25 azure-common 26 azure-core 27 isodate 28 msrestazure 29 uamqp 30 ] ++ lib.optionals (!isPy3k) [ 31 futures 32 ]; 33 34 # has no tests 35 doCheck = false; 36 37 # python2 will fail due to pep 420 38 pythonImportsCheck = lib.optionals isPy3k [ 39 "azure.servicebus" 40 ]; 41 42 meta = with lib; { 43 description = "Microsoft Azure Service Bus Client Library"; 44 homepage = "https://github.com/Azure/azure-sdk-for-python"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ maxwilson ]; 47 }; 48}