linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / google-auth / default.nix
blobaddd67f9faac8b95fd23e62da7ccb79831548720
1 { lib
2 , buildPythonPackage
3 , fetchpatch
4 , fetchPypi
5 , pytestCheckHook
6 , cachetools
7 , flask
8 , freezegun
9 , mock
10 , oauth2client
11 , pyasn1-modules
12 , pytest-localserver
13 , responses
14 , rsa
15 , six
16 , pyopenssl
19 buildPythonPackage rec {
20   pname = "google-auth";
21   version = "1.28.0";
23   src = fetchPypi {
24     inherit pname version;
25     sha256 = "sha256-m9Q20ZqwRwAaE0ByDStinrlt1QMljFJJIewq8+6IqA4=";
26   };
28   propagatedBuildInputs = [
29     cachetools
30     pyasn1-modules
31     rsa
32     six
33     pyopenssl
34   ];
36   checkInputs = [
37     flask
38     freezegun
39     mock
40     oauth2client
41     pytestCheckHook
42     pytest-localserver
43     responses
44   ];
46   pythonImportsCheck = [
47     "google.auth"
48     "google.oauth2"
49   ];
51   meta = with lib; {
52     description = "Google Auth Python Library";
53     longDescription = ''
54       This library simplifies using Google’s various server-to-server
55       authentication mechanisms to access Google APIs.
56     '';
57     homepage = "https://github.com/googleapis/google-auth-library-python";
58     changelog = "https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md";
59     license = licenses.asl20;
60     maintainers = with maintainers; [ SuperSandro2000 ];
61   };