protoc-gen-go-vtproto: init at 0.2.0 (#144449)
This commit is contained in:
parent
414a0d6e23
commit
9aecabdf89
2 changed files with 28 additions and 0 deletions
26
pkgs/development/tools/protoc-gen-go-vtproto/default.nix
Normal file
26
pkgs/development/tools/protoc-gen-go-vtproto/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -337,6 +337,8 @@ with pkgs;
|
|||
|
||||
protoc-gen-go-grpc = callPackage ../development/tools/protoc-gen-go-grpc { };
|
||||
|
||||
protoc-gen-go-vtproto = callPackage ../development/tools/protoc-gen-go-vtproto { };
|
||||
|
||||
protoc-gen-grpc-web = callPackage ../development/tools/protoc-gen-grpc-web { };
|
||||
|
||||
protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { };
|
||||
|
|
Loading…
Reference in a new issue