2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-11-02 18:15:33 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, grpcio
|
2021-03-05 15:20:42 +00:00
|
|
|
, googleapis-common-protos
|
2019-10-27 01:09:37 +01:00
|
|
|
, pytest
|
2018-11-02 18:15:33 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "grpc-google-iam-v1";
|
2019-10-24 07:47:34 +01:00
|
|
|
version = "0.12.3";
|
2018-11-02 18:15:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:34 +01:00
|
|
|
sha256 = "0bfb5b56f648f457021a91c0df0db4934b6e0c300bd0f2de2333383fe958aa72";
|
2018-11-02 18:15:33 +00:00
|
|
|
};
|
|
|
|
|
2021-03-05 15:20:42 +00:00
|
|
|
propagatedBuildInputs = [ grpcio googleapis-common-protos ];
|
2018-11-02 18:15:33 +00:00
|
|
|
|
2019-10-27 01:09:37 +01:00
|
|
|
# non-standard test format, and python3 will load local google folder first
|
|
|
|
# but tests cannot be ran if google folder is removed or moved
|
|
|
|
doCheck = false;
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-02 18:15:33 +00:00
|
|
|
description = "GRPC library for the google-iam-v1 service";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/googleapis/googleapis";
|
2018-11-02 18:15:33 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|