Skip to content

Commit

Permalink
Merge pull request #302624 from ElrohirGT/feat/add-protoc-go-inject-t…
Browse files Browse the repository at this point in the history
…ags-package

Add protoc-go-inject-tag to nixpkgs
  • Loading branch information
RaghavSood committed Apr 8, 2024
2 parents ec46fad + 845b436 commit fdf0205
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5782,6 +5782,12 @@
githubId = 122112154;
name = "Edgar Lee";
};
elrohirgt = {
email = "[email protected]";
github = "ElrohirGT";
githubId = 45268815;
name = "Flavio Galán";
};
elvishjerricco = {
email = "[email protected]";
matrix = "@elvishjerricco:matrix.org";
Expand Down
25 changes: 25 additions & 0 deletions pkgs/by-name/pr/protoc-go-inject-tag/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit fdf0205

Please sign in to comment.