depot/third_party/nixpkgs/pkgs/development/tools/protoc-gen-go-vtproto/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
734 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "protoc-gen-go-vtproto";
version = "0.6.0";
src = fetchFromGitHub {
owner = "planetscale";
repo = "vtprotobuf";
rev = "v${version}";
sha256 = "sha256-ji6elc0hN49A4Ov/ckd8chPR4/8ZX11THzVz9HJGui4=";
};
vendorHash = "sha256-UMOEePOtOtmm9ShQy5LXcEUTv8/SIG9dU7/9vLhrBxQ=";
excludedPackages = [ "conformance" ];
meta = with lib; {
description = "Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2";
mainProgram = "protoc-gen-go-vtproto";
homepage = "https://github.com/planetscale/vtprotobuf";
license = licenses.bsd3;
maintainers = [ maintainers.zane ];
};
}