Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / msgraph-sdk / default.nix
blob93b3b99acc3291370eddbe6fea81886985820279
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,
18 buildPythonPackage rec {
19   pname = "msgraph-sdk";
20   version = "1.3.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-RdjACxEB4w1Sbdf8lPHd12XcEMXBqaa84mF9XvavyHo=";
30   };
32   build-system = [ setuptools ];
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/${version}/CHANGELOG.md";
55     license = licenses.mit;
56     maintainers = with maintainers; [ fab ];
57   };