Files
nixpkgs/pkgs/development/python-modules/msgraph-sdk/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

56 lines
1.4 KiB
Nix

{
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 rec {
pname = "msgraph-sdk";
version = "1.50.0";
pyproject = true;
src = fetchFromGitHub {
owner = "microsoftgraph";
repo = "msgraph-sdk-python";
tag = "v${version}";
hash = "sha256-pSyqU8sUIK+axSu5JoI/ARkhiDxTahpqgcMqLhBvmpw=";
};
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/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}