2021-01-09 10:05:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, google-api-core
|
|
|
|
, libcst
|
|
|
|
, mock
|
|
|
|
, proto-plus
|
|
|
|
, pytest-asyncio
|
|
|
|
}:
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-iam";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "2.1.0";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "d34604508e3e87b9161ccd5ff29474867ac91ffb8d29e1a2fc9ff0e26d934b73";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.iam_credentials"
|
|
|
|
"google.cloud.iam_credentials_v1"
|
|
|
|
];
|
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
meta = with lib; {
|
2021-01-09 10:05:03 +00:00
|
|
|
description = "IAM Service Account Credentials API client library";
|
2020-11-06 00:33:48 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-iam";
|
|
|
|
license = licenses.asl20;
|
2021-01-09 10:05:03 +00:00
|
|
|
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
}
|