protoc-gen-validate: init at 0.6.7
This commit is contained in:
parent
4f7da60916
commit
31b43b1450
2 changed files with 26 additions and 0 deletions
24
pkgs/development/tools/protoc-gen-validate/default.nix
Normal file
24
pkgs/development/tools/protoc-gen-validate/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue