nixpkgs/pkgs/development/tools/protoc-gen-go-vtproto/default.nix
2021-11-25 09:02:04 -08: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 ];
};
}