Merge pull request #163481 from matthewpi/init/protoc-gen-validate
This commit is contained in:
commit
19d6e349b9
|
@ -7707,6 +7707,16 @@
|
||||||
githubId = 279868;
|
githubId = 279868;
|
||||||
name = "Matti Kariluoma";
|
name = "Matti Kariluoma";
|
||||||
};
|
};
|
||||||
|
matthewpi = {
|
||||||
|
email = "me+nix@matthewp.io";
|
||||||
|
github = "matthewpi";
|
||||||
|
githubId = 26559841;
|
||||||
|
name = "Matthew Penner";
|
||||||
|
keys = [{
|
||||||
|
longkeyid = "ed25519/0x31311906AD4CF6D6";
|
||||||
|
fingerprint = "5118 F1CC B7B0 6C17 4DD1 5267 3131 1906 AD4C F6D6";
|
||||||
|
}];
|
||||||
|
};
|
||||||
maurer = {
|
maurer = {
|
||||||
email = "matthew.r.maurer+nix@gmail.com";
|
email = "matthew.r.maurer+nix@gmail.com";
|
||||||
github = "maurer";
|
github = "maurer";
|
||||||
|
|
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-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 { };
|
proton-caller = callPackage ../applications/emulators/proton-caller { };
|
||||||
|
|
||||||
ptags = callPackage ../development/tools/misc/ptags { };
|
ptags = callPackage ../development/tools/misc/ptags { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user