mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
25 lines
667 B
Nix
25 lines
667 B
Nix
{ 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 ];
|
|
};
|
|
}
|