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
56 lines
1.4 KiB
Nix
56 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
azure-identity,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
microsoft-kiota-abstractions,
|
|
microsoft-kiota-authentication-azure,
|
|
microsoft-kiota-http,
|
|
microsoft-kiota-serialization-form,
|
|
microsoft-kiota-serialization-json,
|
|
microsoft-kiota-serialization-multipart,
|
|
microsoft-kiota-serialization-text,
|
|
msgraph-core,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "msgraph-sdk";
|
|
version = "1.46.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoftgraph";
|
|
repo = "msgraph-sdk-python";
|
|
tag = "v${version}";
|
|
hash = "sha256-PAFRK+PLHG87ilD7Nslmj33bif2vBD6/SWmWMkv8HIY=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [
|
|
azure-identity
|
|
microsoft-kiota-abstractions
|
|
microsoft-kiota-authentication-azure
|
|
microsoft-kiota-http
|
|
microsoft-kiota-serialization-form
|
|
microsoft-kiota-serialization-json
|
|
microsoft-kiota-serialization-multipart
|
|
microsoft-kiota-serialization-text
|
|
msgraph-core
|
|
];
|
|
|
|
# Module doesn't have tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "msgraph" ];
|
|
|
|
meta = with lib; {
|
|
description = "Microsoft Graph SDK for Python";
|
|
homepage = "https://github.com/microsoftgraph/msgraph-sdk-python";
|
|
changelog = "https://github.com/microsoftgraph/msgraph-sdk-python/blob/${src.tag}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|