From 097ccc54f01e6bf3f37fe51b2aa917a2a04e2d53 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Wed, 25 Jun 2025 10:12:15 +0000 Subject: [PATCH] protoc-gen-lint: init at 0.3.0 --- pkgs/by-name/pr/protoc-gen-lint/package.nix | 31 +++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/pr/protoc-gen-lint/package.nix diff --git a/pkgs/by-name/pr/protoc-gen-lint/package.nix b/pkgs/by-name/pr/protoc-gen-lint/package.nix new file mode 100644 index 000000000000..7843b1a3bab0 --- /dev/null +++ b/pkgs/by-name/pr/protoc-gen-lint/package.nix @@ -0,0 +1,31 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule (finalAttrs: { + pname = "protoc-gen-lint"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "ckaznocha"; + repo = "protoc-gen-lint"; + tag = "v${finalAttrs.version}"; + hash = "sha256-8+fPkXmigP8ZqcFGCnw1KZhJQcahDjKnZUJ1eqaHhs0="; + }; + + vendorHash = null; + + meta = { + description = "Plug-in for Google's Protocol Buffers compiler to check .proto files for style violations"; + homepage = "https://github.com/ckaznocha/protoc-gen-lint"; + changelog = "https://github.com/ckaznocha/protoc-gen-lint/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ + jherland + jk + ]; + mainProgram = "protoc-gen-lint"; + }; +})