8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
25 lines
597 B
Nix
25 lines
597 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "protoc-gen-go-grpc";
|
|
version = "1.2.0";
|
|
modRoot = "cmd/protoc-gen-go-grpc";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "grpc";
|
|
repo = "grpc-go";
|
|
rev = "cmd/protoc-gen-go-grpc/v${version}";
|
|
sha256 = "sha256-pIHMykwwyu052rqwSV5Js0+JCKCNLrFVN6XQ3xjlEOI=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-yxOfgTA5IIczehpWMM1kreMqJYKgRT5HEGbJ3SeQ/Lg=";
|
|
|
|
meta = with lib; {
|
|
description = "The Go language implementation of gRPC. HTTP/2 based RPC";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.raboof ];
|
|
};
|
|
}
|