Files
nixpkgs/pkgs/development/python-modules/azure-eventgrid/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01: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 = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}