2021-01-09 10:05:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, google-api-core
|
|
|
|
, libcst
|
|
|
|
, mock
|
|
|
|
, proto-plus
|
|
|
|
, pytest-asyncio
|
2023-01-11 07:51:40 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
2021-01-09 10:05:03 +00:00
|
|
|
}:
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-iam";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "2.10.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
2021-08-08 23:34:03 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-11 07:51:40 +00:00
|
|
|
hash = "sha256-8q/Am7x5LFN9Uaw37QdUdwL19J1FgxRKjRL0Vrc+1TI=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
google-api-core
|
|
|
|
libcst
|
|
|
|
proto-plus
|
|
|
|
] ++ google-api-core.optional-dependencies.grpc;
|
2021-01-09 10:05:03 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
checkInputs = [
|
|
|
|
mock
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-11-06 00:33:48 +00:00
|
|
|
|
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";
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/googleapis/python-iam/releases/tag/v${version}";
|
2020-11-06 00:33:48 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-09 10:05:03 +00:00
|
|
|
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
}
|