Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, msrest 5, azure-common 6, azure-core 7, msrestazure 8, pythonOlder 9}: 10 11buildPythonPackage rec { 12 pname = "azure-eventgrid"; 13 version = "4.13.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 extension = "zip"; 21 hash = "sha256-Za/cyt/tCvzLTfIgS5Ifjbb9jPtdCojNzzI5WeBiO6I="; 22 }; 23 24 propagatedBuildInputs = [ 25 azure-common 26 azure-core 27 msrest 28 msrestazure 29 ]; 30 31 # 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 license = licenses.mit; 42 maintainers = with maintainers; [ maxwilson ]; 43 }; 44}