anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / msgraph-sdk / default.nix
blob4eedc33e07c7f76794df69445372ae75cd481bd5
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,
18 buildPythonPackage rec {
19   pname = "msgraph-sdk";
20   version = "1.13.0";
21   pyproject = true;
23   disabled = pythonOlder "3.8";
25   src = fetchFromGitHub {
26     owner = "microsoftgraph";
27     repo = "msgraph-sdk-python";
28     rev = "refs/tags/v${version}";
29     hash = "sha256-1f7Uj38IjI1wdWWzdAaOvoDtddukUhtH8xFKOYPzBdM=";
30   };
32   build-system = [ flit-core ];
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   ];
46   # Module doesn't have tests
47   doCheck = false;
49   pythonImportsCheck = [ "msgraph" ];
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/v${version}/CHANGELOG.md";
55     license = licenses.mit;
56     maintainers = with maintainers; [ fab ];
57   };