mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
Diff: https://github.com/microsoft/kiota-python/compare/microsoft-kiota-authentication-azure-v1.10.3...microsoft-kiota-authentication-azure-v1.11.6 Changelog: https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-authentication-azure-microsoft-kiota-authentication-azure-v1.11.6
60 lines
1.4 KiB
Nix
60 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
azure-core,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
microsoft-kiota-abstractions,
|
|
opentelemetry-api,
|
|
opentelemetry-sdk,
|
|
pytest-asyncio,
|
|
pytest-mock,
|
|
pytestCheckHook,
|
|
gitUpdater,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "microsoft-kiota-authentication-azure";
|
|
version = "1.11.6";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoft";
|
|
repo = "kiota-python";
|
|
tag = "microsoft-kiota-authentication-azure-v${finalAttrs.version}";
|
|
hash = "sha256-hhYQsNcy+jVVmKiDuB1nGpx+aA7toM6WDFoU5Vnu5Vs=";
|
|
};
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/packages/authentication/azure/";
|
|
|
|
build-system = [ flit-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-${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|