depot/third_party/nixpkgs/pkgs/development/tools/protoc-gen-validate/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

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 ];
};
}