2022-03-30 09:31:56 +00:00
|
|
|
{ buildGoModule
|
2021-04-26 19:14:03 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
buildGoModule rec {
|
2021-04-26 19:14:03 +00:00
|
|
|
pname = "protoc-gen-go-grpc";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "1.2.0";
|
|
|
|
modRoot = "cmd/protoc-gen-go-grpc";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grpc";
|
|
|
|
repo = "grpc-go";
|
|
|
|
rev = "cmd/protoc-gen-go-grpc/v${version}";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-pIHMykwwyu052rqwSV5Js0+JCKCNLrFVN6XQ3xjlEOI=";
|
2021-04-26 19:14:03 +00:00
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
vendorSha256 = "sha256-yxOfgTA5IIczehpWMM1kreMqJYKgRT5HEGbJ3SeQ/Lg=";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The Go language implementation of gRPC. HTTP/2 based RPC";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.raboof ];
|
|
|
|
};
|
|
|
|
}
|