mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #302624 from ElrohirGT/feat/add-protoc-go-inject-tags-package
Add protoc-go-inject-tag to nixpkgs
This commit is contained in:
commit
fdf020573d
@ -5782,6 +5782,12 @@
|
||||
githubId = 122112154;
|
||||
name = "Edgar Lee";
|
||||
};
|
||||
elrohirgt = {
|
||||
email = "elrohirgt@gmail.com";
|
||||
github = "ElrohirGT";
|
||||
githubId = 45268815;
|
||||
name = "Flavio Galán";
|
||||
};
|
||||
elvishjerricco = {
|
||||
email = "elvishjerricco@gmail.com";
|
||||
matrix = "@elvishjerricco:matrix.org";
|
||||
|
25
pkgs/by-name/pr/protoc-go-inject-tag/package.nix
Normal file
25
pkgs/by-name/pr/protoc-go-inject-tag/package.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user