Files
nixpkgs/pkgs/development/python-modules/azure-eventgrid/default.nix
T
2025-05-15 04:18:44 +00:00

46 lines
1.1 KiB
Nix

{
lib,
azure-common,
azure-core,
buildPythonPackage,
fetchPypi,
isodate,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-eventgrid";
version = "4.22.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "azure_eventgrid";
inherit version;
hash = "sha256-SrR+DVDqSf/4PbA1giwzZ8oc79YCSQm6EJdSzFS/DmM=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-core
isodate
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "azure.eventgrid" ];
meta = with lib; {
description = "Fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventgrid/azure-eventgrid";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-eventgrid_${version}/sdk/eventgrid/azure-eventgrid/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}