python311Packages.msgraph-sdk: init at 1.1.0

Microsoft Graph SDK for Python

https://github.com/microsoftgraph/msgraph-sdk-python
This commit is contained in:
Fabian Affolter 2024-02-16 10:54:00 +01:00
parent c841de7569
commit 82f1bfba2d
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,57 @@
{ lib
, azure-identity
, buildPythonPackage
, fetchFromGitHub
, microsoft-kiota-abstractions
, microsoft-kiota-authentication-azure
, microsoft-kiota-http
, microsoft-kiota-serialization-json
, microsoft-kiota-serialization-text
, msgraph-core
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "msgraph-sdk";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "microsoftgraph";
repo = "msgraph-sdk-python";
rev = "refs/tags/v${version}";
hash = "sha256-fAchReqVhkVhT48UrTnBUQerHmgB7qxpey0xrgxIVDs=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
azure-identity
microsoft-kiota-abstractions
microsoft-kiota-authentication-azure
microsoft-kiota-http
microsoft-kiota-serialization-json
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/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -9554,6 +9554,8 @@ self: super: with self; {
msgraph-core = callPackage ../development/python-modules/msgraph-core { };
msgraph-sdk = callPackage ../development/python-modules/msgraph-sdk { };
multipart = callPackage ../development/python-modules/multipart { };
netmap = callPackage ../development/python-modules/netmap { };