{ lib, aiohttp, azure-core, buildPythonPackage, fetchFromGitHub, poetry-core, microsoft-kiota-abstractions, opentelemetry-api, opentelemetry-sdk, pytest-asyncio, pytest-mock, pytestCheckHook, gitUpdater, }: buildPythonPackage rec { pname = "microsoft-kiota-authentication-azure"; version = "1.9.8"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-authentication-azure-v${version}"; hash = "sha256-05/I06p3zBc/Kb7H8dMEbUxFr0dOXSSBuIyEGZ4twhA="; }; sourceRoot = "${src.name}/packages/authentication/azure/"; build-system = [ poetry-core ]; dependencies = [ aiohttp azure-core microsoft-kiota-abstractions opentelemetry-api opentelemetry-sdk ]; nativeCheckInputs = [ pytest-asyncio pytest-mock pytestCheckHook ]; pythonImportsCheck = [ "kiota_authentication_azure" ]; passthru.updateScript = gitUpdater { rev-prefix = "microsoft-kiota-authentication-azure-v"; }; meta = { description = "Kiota Azure authentication provider"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/authentication/azure"; changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-authentication-azure-${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; }