27 lines
697 B
Nix
27 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 ];
|
|
};
|
|
}
|