nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 60 lines 1.4 kB view raw
1{ 2 lib, 3 aiohttp, 4 azure-core, 5 buildPythonPackage, 6 fetchFromGitHub, 7 poetry-core, 8 microsoft-kiota-abstractions, 9 opentelemetry-api, 10 opentelemetry-sdk, 11 pytest-asyncio, 12 pytest-mock, 13 pytestCheckHook, 14 gitUpdater, 15}: 16 17buildPythonPackage rec { 18 pname = "microsoft-kiota-authentication-azure"; 19 version = "1.9.8"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "microsoft"; 24 repo = "kiota-python"; 25 tag = "microsoft-kiota-authentication-azure-v${version}"; 26 hash = "sha256-05/I06p3zBc/Kb7H8dMEbUxFr0dOXSSBuIyEGZ4twhA="; 27 }; 28 29 sourceRoot = "${src.name}/packages/authentication/azure/"; 30 31 build-system = [ poetry-core ]; 32 33 dependencies = [ 34 aiohttp 35 azure-core 36 microsoft-kiota-abstractions 37 opentelemetry-api 38 opentelemetry-sdk 39 ]; 40 41 nativeCheckInputs = [ 42 pytest-asyncio 43 pytest-mock 44 pytestCheckHook 45 ]; 46 47 pythonImportsCheck = [ "kiota_authentication_azure" ]; 48 49 passthru.updateScript = gitUpdater { 50 rev-prefix = "microsoft-kiota-authentication-azure-v"; 51 }; 52 53 meta = { 54 description = "Kiota Azure authentication provider"; 55 homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/authentication/azure"; 56 changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-authentication-azure-${src.tag}"; 57 license = lib.licenses.mit; 58 maintainers = with lib.maintainers; [ fab ]; 59 }; 60}