Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-api-python-client / default.nix
blobb07133350e2f1caffa574df28b777ff56053732f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-auth
5 , google-auth-httplib2
6 , google-api-core
7 , httplib2
8 , uritemplate
9 , oauth2client
10 , setuptools
11 , pythonOlder
14 buildPythonPackage rec {
15   pname = "google-api-python-client";
16   version = "2.125.0";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-UaA4XP9l7BNRBui+YO5xElVzlt3l9EETriORK63doUM=";
24   };
26   nativeBuildInputs = [
27     setuptools
28   ];
30   propagatedBuildInputs = [
31     google-auth
32     google-auth-httplib2
33     google-api-core
34     httplib2
35     uritemplate
36     oauth2client
37   ];
39   # No tests included in archive
40   doCheck = false;
42   pythonImportsCheck = [
43     "googleapiclient"
44   ];
46   meta = with lib; {
47     description = "The official Python client library for Google's discovery based APIs";
48     longDescription = ''
49       These client libraries are officially supported by Google. However, the
50       libraries are considered complete and are in maintenance mode. This means
51       that we will address critical bugs and security issues but will not add
52       any new features.
53     '';
54     homepage = "https://github.com/google/google-api-python-client";
55     changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/v${version}";
56     license = licenses.asl20;
57     maintainers = with maintainers; [ ];
58   };