2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
google-api-core,
|
|
|
|
pythonOlder,
|
|
|
|
protobuf,
|
|
|
|
setuptools,
|
2021-12-26 17:43:05 +00:00
|
|
|
}:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-access-context-manager";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.2.1";
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
2021-12-26 17:43:05 +00:00
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-09-19 14:19:46 +00:00
|
|
|
pname = "google_cloud_access_context_manager";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-O/rGqO4ub5UQWo7s9OGJCxp5Y3AuuMZV/s8CVX00joo=";
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
dependencies = [
|
2021-12-26 17:43:05 +00:00
|
|
|
google-api-core
|
2023-01-11 07:51:40 +00:00
|
|
|
protobuf
|
|
|
|
] ++ google-api-core.optional-dependencies.grpc;
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
# No tests in repo
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "google.identity.accesscontextmanager" ];
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-08-27 14:25:00 +00:00
|
|
|
description = "Protobufs for Google Access Context Manager";
|
2020-10-16 20:44:37 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-access-context-manager";
|
2022-12-28 21:21:41 +00:00
|
|
|
changelog = "https://github.com/googleapis/python-access-context-manager/blob/v${version}/CHANGELOG.md";
|
2020-10-16 20:44:37 +00:00
|
|
|
license = licenses.asl20;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ austinbutler ];
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
}
|