1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6, google-api-core
7, libcst
8, mock
9, proto-plus
10, pytest-asyncio
11}:
12
13buildPythonPackage rec {
14 pname = "google-cloud-iam";
15 version = "2.1.0";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "d34604508e3e87b9161ccd5ff29474867ac91ffb8d29e1a2fc9ff0e26d934b73";
20 };
21
22 propagatedBuildInputs = [ google-api-core libcst proto-plus ];
23
24 checkInputs = [ mock pytestCheckHook pytest-asyncio ];
25
26 pythonImportsCheck = [
27 "google.cloud.iam_credentials"
28 "google.cloud.iam_credentials_v1"
29 ];
30
31 meta = with lib; {
32 description = "IAM Service Account Credentials API client library";
33 homepage = "https://github.com/googleapis/python-iam";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
36 };
37}