94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
24 lines
663 B
Nix
24 lines
663 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "protoc-gen-validate";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bufbuild";
|
|
repo = "protoc-gen-validate";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-VXGsSlqVScqyScOsYoXcVfXFvH73GFc+4qPRETqbre0=";
|
|
};
|
|
|
|
vendorHash = "sha256-OOjVlRHaOLIJVg3r97qZ3lPv8ANYY2HSn7hUJhg3Cfs=";
|
|
|
|
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 ];
|
|
};
|
|
}
|