Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 azure-identity, 4 buildPythonPackage, 5 fetchFromGitHub, 6 microsoft-kiota-abstractions, 7 microsoft-kiota-authentication-azure, 8 microsoft-kiota-http, 9 microsoft-kiota-serialization-form, 10 microsoft-kiota-serialization-json, 11 microsoft-kiota-serialization-multipart, 12 microsoft-kiota-serialization-text, 13 msgraph-core, 14 pythonOlder, 15 setuptools, 16}: 17 18buildPythonPackage rec { 19 pname = "msgraph-sdk"; 20 version = "1.4.0"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.8"; 24 25 src = fetchFromGitHub { 26 owner = "microsoftgraph"; 27 repo = "msgraph-sdk-python"; 28 rev = "refs/tags/v${version}"; 29 hash = "sha256-afnxk79duKzTykNnSHPE6lZhMkOt+9JhEskj/KjQpQI="; 30 }; 31 32 build-system = [ setuptools ]; 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/${version}/CHANGELOG.md"; 55 license = licenses.mit; 56 maintainers = with maintainers; [ fab ]; 57 }; 58}