protoc-gen-validate: init at 0.6.7

This commit is contained in:
Matthew Penner 2022-03-09 10:49:26 -07:00
parent 4f7da60916
commit 31b43b1450
No known key found for this signature in database
GPG key ID: 31311906AD4CF6D6
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "protoc-gen-validate";
version = "0.6.7";
src = fetchFromGitHub {
owner = "envoyproxy";
repo = "protoc-gen-validate";
rev = "v${version}";
sha256 = "sha256-ouo6raNbvQyuY4IY1JEN45Ss7zb3EoR/WIRzL7hXLNI=";
};
vendorSha256 = "sha256-HbUEhoB6PPHwN/xym6dTkS54+EqVU1n8EIym8W2wt3I=";
excludedPackages = [ "tests" ];
meta = with lib; {
description = "Protobuf plugin for generating polyglot message validators";
homepage = "https://github.com/envoyproxy/protoc-gen-validate";
license = licenses.asl20;
maintainers = with maintainers; [ matthewpi ];
};
}

View file

@ -390,6 +390,8 @@ with pkgs;
protoc-gen-twirp_typescript = callPackage ../development/tools/protoc-gen-twirp_typescript { };
protoc-gen-validate = callPackage ../development/tools/protoc-gen-validate { };
proton-caller = callPackage ../applications/emulators/proton-caller { };
ptags = callPackage ../development/tools/misc/ptags { };