diff options
author | Raghav Sood <r@raghavsood.com> | 2024-04-09 03:11:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 03:11:20 +0800 |
commit | fdf020573d6298cb0dbe7a8df8ac4930b76afba6 (patch) | |
tree | 8408576a8afc4dc9ce6c883038e8a447d8ee6195 /pkgs/by-name | |
parent | ec46fade087870ff77b8d3156cae3b6a5e397e6b (diff) | |
parent | 845b436b151d3ea78ec68725c4c5a14559323920 (diff) |
Merge pull request #302624 from ElrohirGT/feat/add-protoc-go-inject-tags-package
Add protoc-go-inject-tag to nixpkgs
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/pr/protoc-go-inject-tag/package.nix | 25 |
1 files changed, 25 insertions, 0 deletions
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 0000000000000..4bb673449ea6f --- /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"; + }; +} |