2021-01-05 09:52:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, google_api_core
|
|
|
|
, libcst
|
|
|
|
, mock
|
|
|
|
, proto-plus
|
|
|
|
, pytest-asyncio
|
|
|
|
}:
|
2020-11-03 01:13:56 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-iam";
|
|
|
|
version = "2.0.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1zxsx5avs8njiyw32zvsx2yblmmiwxy771x334hbgmy0aqms4lak";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ google_api_core libcst proto-plus ];
|
2021-01-05 09:52:31 +00:00
|
|
|
|
2020-11-03 01:13:56 +00:00
|
|
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
|
|
|
|
2021-01-05 09:52:31 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.iam_credentials"
|
|
|
|
"google.cloud.iam_credentials_v1"
|
|
|
|
];
|
|
|
|
|
2020-11-03 01:13:56 +00:00
|
|
|
meta = with lib; {
|
2021-01-05 09:52:31 +00:00
|
|
|
description = "IAM Service Account Credentials API client library";
|
2020-11-03 01:13:56 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-iam";
|
|
|
|
license = licenses.asl20;
|
2021-01-05 09:52:31 +00:00
|
|
|
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
|
2020-11-03 01:13:56 +00:00
|
|
|
};
|
|
|
|
}
|