depot/third_party/nixpkgs/pkgs/development/tools/protoc-gen-go-vtproto/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

26 lines
697 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "protoc-gen-go-vtproto";
version = "0.2.0";
src = fetchFromGitHub {
owner = "planetscale";
repo = "vtprotobuf";
rev = "v${version}";
sha256 = "0kjjpfsiws4vi36ha1gajb97rwcggqw753mv2jqf09kdfszz9p63";
};
vendorSha256 = "01lxwlgh3y3gp22gk5qx7r60c1j63pnpi6jnri8gf2lmiiib8fdc";
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 ];
};
}