Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, azure-common 3, azure-core 4, buildPythonPackage 5, fetchPypi 6, isodate 7, msrestazure 8, pythonOlder 9, six 10, typing-extensions 11, uamqp 12}: 13 14buildPythonPackage rec { 15 pname = "azure-servicebus"; 16 version = "7.10.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.6"; 20 21 src = fetchPypi { 22 inherit pname version; 23 extension = "zip"; 24 hash = "sha256-ANEJ5aLqfHX/OGO41FNjCqr9S6UygQMrGMQvMtR3z/Q="; 25 }; 26 27 propagatedBuildInputs = [ 28 azure-common 29 azure-core 30 isodate 31 msrestazure 32 six 33 typing-extensions 34 uamqp 35 ]; 36 37 # Tests require dev-tools 38 doCheck = false; 39 40 pythonImportsCheck = [ 41 "azure.servicebus" 42 ]; 43 44 meta = with lib; { 45 description = "Microsoft Azure Service Bus Client Library"; 46 homepage = "https://github.com/Azure/azure-sdk-for-python"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ maxwilson ]; 49 }; 50}