mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
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:
parent
c841de7569
commit
82f1bfba2d
2 changed files with 59 additions and 0 deletions
57
pkgs/development/python-modules/msgraph-sdk/default.nix
Normal file
57
pkgs/development/python-modules/msgraph-sdk/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9554,6 +9554,8 @@ self: super: with self; {
|
||||||
|
|
||||||
msgraph-core = callPackage ../development/python-modules/msgraph-core { };
|
msgraph-core = callPackage ../development/python-modules/msgraph-core { };
|
||||||
|
|
||||||
|
msgraph-sdk = callPackage ../development/python-modules/msgraph-sdk { };
|
||||||
|
|
||||||
multipart = callPackage ../development/python-modules/multipart { };
|
multipart = callPackage ../development/python-modules/multipart { };
|
||||||
|
|
||||||
netmap = callPackage ../development/python-modules/netmap { };
|
netmap = callPackage ../development/python-modules/netmap { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue