Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchFromGitHub,
googleapis-common-protos,
grpcio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "grpc-google-iam-v1";
version = "3.31.3";
pyproject = true;
src = fetchFromGitHub {
owner = "googleapis";
repo = "google-cloud-python";
tag = "google-cloud-build-v${version}";
hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U=";
};
sourceRoot = "${src.name}/packages/grpc-google-iam-v1";
build-system = [ setuptools ];
dependencies = [
grpcio
googleapis-common-protos
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"google.iam"
"google.iam.v1"
];
pytestFlags = [
"-Wignore::DeprecationWarning"
];
meta = with lib; {
description = "GRPC library for the google-iam-v1 service";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/grpc-google-iam-v1";
changelog = "https://github.com/googleapis/google-cloud-python/blob/${src.tag}/packages/grpc-google-iam-v1/CHANGELOG.md";
license = licenses.asl20;
maintainers = [ ];
};
}