blob: ebafdd8a8a9d87e914c9600d6a79555f524c6b93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
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 (finalAttrs: {
pname = "msgraph-sdk";
version = "1.52.0";
pyproject = true;
src = fetchFromGitHub {
owner = "microsoftgraph";
repo = "msgraph-sdk-python";
tag = "v${finalAttrs.version}";
hash = "sha256-7HLPkyWlslMuYdoQ4K6Zm7YZ+qp93P/fZdxZrb4X6aI=";
};
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 = {
description = "Microsoft Graph SDK for Python";
homepage = "https://github.com/microsoftgraph/msgraph-sdk-python";
changelog = "https://github.com/microsoftgraph/msgraph-sdk-python/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|