push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
{
lib,
buildPythonPackage,
python-dotenv,
pythonOlder,
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;
disabled = pythonOlder "3.9";
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 ];
};
}