2021-04-05 15:23:46 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "protoc-gen-go";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.34.2";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "protocolbuffers";
|
|
|
|
repo = "protobuf-go";
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-467+AhA3tADBg6+qbTd1SvLW+INL/1QVR8PzfAMYKFA=";
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
vendorHash = "sha256-nGI/Bd6eMEoY0sBwWEtyhFowHVvwLKjbT4yfzFz6Z3E=";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/protoc-gen-go" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Go support for Google's protocol buffers";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "protoc-gen-go";
|
2021-04-05 15:23:46 +00:00
|
|
|
homepage = "https://google.golang.org/protobuf";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jojosch ];
|
|
|
|
};
|
|
|
|
}
|