2021-12-06 16:07:01 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "protoc-gen-go-vtproto";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.5.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "planetscale";
|
|
|
|
repo = "vtprotobuf";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-2DpL8CYl0MWpr7TBJPwDlgKvOoa5RrVwMjOxrEP5Wio=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
vendorHash = "sha256-JpSVO8h7+StLG9/dJQkmrIlh9zIHABoqP1hq+X5ajVs=";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
excludedPackages = [ "conformance" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2";
|
|
|
|
homepage = "https://github.com/planetscale/vtprotobuf";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.zane ];
|
|
|
|
};
|
|
|
|
}
|