1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, grpcio
5, googleapis_common_protos
6, pytest
7}:
8
9buildPythonPackage rec {
10 pname = "grpc-google-iam-v1";
11 version = "0.12.3";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "0bfb5b56f648f457021a91c0df0db4934b6e0c300bd0f2de2333383fe958aa72";
16 };
17
18 propagatedBuildInputs = [ grpcio googleapis_common_protos ];
19
20 # non-standard test format, and python3 will load local google folder first
21 # but tests cannot be ran if google folder is removed or moved
22 doCheck = false;
23 checkInputs = [ pytest ];
24
25 meta = with stdenv.lib; {
26 description = "GRPC library for the google-iam-v1 service";
27 homepage = "https://github.com/googleapis/googleapis";
28 license = licenses.asl20;
29 maintainers = [ maintainers.costrouc ];
30 };
31}