1{ lib 2, azure-common 3, azure-core 4, buildPythonPackage 5, fetchPypi 6, isodate 7, pythonOlder 8, typing-extensions 9}: 10 11buildPythonPackage rec { 12 pname = "azure-eventgrid"; 13 version = "4.16.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-o895Xjp/su2mc1WHbsQvWDe28sX/HhLtOb7BC5TFkyg="; 21 }; 22 23 propagatedBuildInputs = [ 24 azure-common 25 azure-core 26 isodate 27 ] ++ lib.optionals (pythonOlder "3.8") [ 28 typing-extensions 29 ]; 30 31 # Module has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "azure.eventgrid" 36 ]; 37 38 meta = with lib; { 39 description = "A fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model"; 40 homepage = "https://github.com/Azure/azure-sdk-for-python"; 41 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-eventgrid_${version}/sdk/eventgrid/azure-eventgrid/CHANGELOG.md"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ maxwilson ]; 44 }; 45}