Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 61 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, python-dotenv, fetchFromGitHub, setuptools, httpx, microsoft-kiota-abstractions, microsoft-kiota-authentication-azure, microsoft-kiota-http, microsoft-kiota-serialization-json, azure-identity, pytestCheckHook, responses,}:
buildPythonPackage rec { pname = "msgraph-core"; version = "1.3.8"; pyproject = true;
src = fetchFromGitHub { owner = "microsoftgraph"; repo = "msgraph-sdk-python-core"; tag = "v${version}"; hash = "sha256-6M1C2Y0jYec/yKjigtbaaZiEL23csQAFtuUVMTlaiXk="; };
build-system = [ setuptools ];
dependencies = [ httpx microsoft-kiota-abstractions microsoft-kiota-authentication-azure microsoft-kiota-http ] ++ httpx.optional-dependencies.http2;
nativeCheckInputs = [ azure-identity microsoft-kiota-serialization-json pytestCheckHook python-dotenv responses ];
pythonImportsCheck = [ "msgraph_core" ];
disabledTestPaths = [ # client_id should be the id of a Microsoft Entra application "tests/tasks/test_page_iterator.py" ];
meta = { description = "Core component of the Microsoft Graph Python SDK"; homepage = "https://github.com/microsoftgraph/msgraph-sdk-python-core"; changelog = "https://github.com/microsoftgraph/msgraph-sdk-python-core/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };}