at 25.11-pre 46 lines 1.1 kB view raw
1{ 2 lib, 3 azure-core, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7 typing-extensions, 8}: 9 10buildPythonPackage rec { 11 pname = "azure-eventhub"; 12 version = "5.15.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "Azure"; 17 repo = "azure-sdk-for-python"; 18 tag = "azure-eventhub_${version}"; 19 hash = "sha256-zpj1DUeFCXgVw44LcBCYtuFcQtA9BnrDKAxKSYzu4ts="; 20 }; 21 22 sourceRoot = "${src.name}/sdk/eventhub/azure-eventhub"; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 azure-core 28 typing-extensions 29 ]; 30 31 # too complicated to set up 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "azure.eventhub" 36 "azure.eventhub.aio" 37 ]; 38 39 meta = with lib; { 40 description = "Microsoft Azure Event Hubs Client Library for Python"; 41 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub"; 42 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/${src.tag}/sdk/eventhub/azure-eventhub/CHANGELOG.md"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ dotlambda ]; 45 }; 46}