Files
nixpkgs/pkgs/development/python-modules/azure-mgmt-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

50 lines
1.1 KiB
Nix

{
lib,
azure-common,
azure-mgmt-core,
buildPythonPackage,
fetchPypi,
isodate,
msrest,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "azure-mgmt-eventgrid";
version = "10.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "azure_mgmt_eventgrid";
inherit version;
hash = "sha256-MD5eJ89LteyDO6Tlqe9wtbxBDhkEEuxHzeWdguQT+34=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-mgmt-core
isodate
msrest
typing-extensions
];
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.eventgrid" ];
meta = {
description = "This is the Microsoft Azure EventGrid Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventgrid/azure-mgmt-eventgrid";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-eventgrid_${version}/sdk/eventgrid/azure-mgmt-eventgrid/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}