2021-03-29 16:23:06 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "protoc-gen-go";
|
2021-06-29 08:43:02 +02:00
|
|
|
version = "1.27.1";
|
2021-03-29 16:23:06 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "protocolbuffers";
|
|
|
|
repo = "protobuf-go";
|
|
|
|
rev = "v${version}";
|
2021-06-29 08:43:02 +02:00
|
|
|
sha256 = "sha256-wkUvMsoJP38KMD5b3Fz65R1cnpeTtDcVqgE7tNlZXys=";
|
2021-03-29 16:23:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "sha256-yb8l4ooZwqfvenlxDRg95rqiL+hmsn0weS/dPv/oD2Y=";
|
|
|
|
|
|
|
|
subPackages = [ "cmd/protoc-gen-go" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Go support for Google's protocol buffers";
|
|
|
|
homepage = "https://google.golang.org/protobuf";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jojosch ];
|
|
|
|
};
|
|
|
|
}
|