From 845b436b151d3ea78ec68725c4c5a14559323920 Mon Sep 17 00:00:00 2001 From: ElrohirGT Date: Thu, 29 Feb 2024 19:46:37 -0600 Subject: [PATCH] protoc-go-inject-tag: init at 1.4.0 --- .../pr/protoc-go-inject-tag/package.nix | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/by-name/pr/protoc-go-inject-tag/package.nix diff --git a/pkgs/by-name/pr/protoc-go-inject-tag/package.nix b/pkgs/by-name/pr/protoc-go-inject-tag/package.nix new file mode 100644 index 000000000000..4bb673449ea6 --- /dev/null +++ b/pkgs/by-name/pr/protoc-go-inject-tag/package.nix @@ -0,0 +1,25 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: +buildGoModule rec { + pname = "protoc-go-inject-tag"; + version = "1.4.0"; + + src = fetchFromGitHub { + owner = "favadi"; + repo = "protoc-go-inject-tag"; + rev = "v${version}"; + sha256 = "01jsrx83pygvjx3nzfnwvb2vn5gagl79m9i67v7cfg1lzz168spj"; + }; + + vendorHash = "sha256-tMpcJ37yGr7i91Kwz57FmJ+u2x0CAus0+yWOR10fJLo="; + + meta = with lib; { + description = "Inject custom tags to protobuf golang struct"; + homepage = "https://github.com/favadi/protoc-go-inject-tag/tree/v1.4.0"; + license = licenses.bsd2; + maintainers = with maintainers; [elrohirgt]; + mainProgram = "protoc-go-inject-tag"; + }; +}