ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / google-api-python-client / default.nix
blob73f8310cc0d8fbce4f31ff60177ff87e83ad97fd
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.61.0";
17   format = "setuptools";
19   disabled = pythonOlder "3.6";
21   src = fetchPypi {
22     inherit pname version;
23     sha256 = "sha256-3goMt7sY6/9c99x4K0ikiKFL12hLU4eZ8xvtq33iuD8=";
24   };
26   propagatedBuildInputs = [
27     google-auth
28     google-auth-httplib2
29     google-api-core
30     httplib2
31     uritemplate
32     oauth2client
33     setuptools
34   ];
36   # No tests included in archive
37   doCheck = false;
39   pythonImportsCheck = [
40     "googleapiclient"
41   ];
43   meta = with lib; {
44     description = "The official Python client library for Google's discovery based APIs";
45     longDescription = ''
46       These client libraries are officially supported by Google. However, the
47       libraries are considered complete and are in maintenance mode. This means
48       that we will address critical bugs and security issues but will not add
49       any new features.
50     '';
51     homepage = "https://github.com/google/google-api-python-client";
52     changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/v${version}";
53     license = licenses.asl20;
54     maintainers = with maintainers; [ ];
55   };