1{ 2 lib, 3 azure-identity, 4 buildPythonPackage, 5 fetchFromGitHub, 6 flit-core, 7 microsoft-kiota-abstractions, 8 microsoft-kiota-authentication-azure, 9 microsoft-kiota-http, 10 microsoft-kiota-serialization-form, 11 microsoft-kiota-serialization-json, 12 microsoft-kiota-serialization-multipart, 13 microsoft-kiota-serialization-text, 14 msgraph-core, 15 pythonOlder, 16}: 17 18buildPythonPackage rec { 19 pname = "msgraph-sdk"; 20 version = "1.30.0"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.8"; 24 25 src = fetchFromGitHub { 26 owner = "microsoftgraph"; 27 repo = "msgraph-sdk-python"; 28 tag = "v${version}"; 29 hash = "sha256-YKeQkgEOiblG7RJUAf7qI8F9MYU8sFDxrVUbdYj/H0Y="; 30 }; 31 32 build-system = [ flit-core ]; 33 34 dependencies = [ 35 azure-identity 36 microsoft-kiota-abstractions 37 microsoft-kiota-authentication-azure 38 microsoft-kiota-http 39 microsoft-kiota-serialization-form 40 microsoft-kiota-serialization-json 41 microsoft-kiota-serialization-multipart 42 microsoft-kiota-serialization-text 43 msgraph-core 44 ]; 45 46 # Module doesn't have tests 47 doCheck = false; 48 49 pythonImportsCheck = [ "msgraph" ]; 50 51 meta = with lib; { 52 description = "Microsoft Graph SDK for Python"; 53 homepage = "https://github.com/microsoftgraph/msgraph-sdk-python"; 54 changelog = "https://github.com/microsoftgraph/msgraph-sdk-python/blob/${src.tag}/CHANGELOG.md"; 55 license = licenses.mit; 56 maintainers = with maintainers; [ fab ]; 57 }; 58}