Merge: zmap: 4.2.0 -> 4.3.1 (#364578)
[NixPkgs.git] / pkgs / by-name / pr / protoc-go-inject-tag / package.nix
blob5d6d1cc8330d1f42248a087dbd618990ef32ac5b
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
6 buildGoModule rec {
7   pname = "protoc-go-inject-tag";
8   version = "1.4.0";
10   src = fetchFromGitHub {
11     owner = "favadi";
12     repo = "protoc-go-inject-tag";
13     rev = "v${version}";
14     hash = "sha256-8mpkwv80PMfOPiammg596hW7xdrcum9Hl/v5O1DPWgY=";
15   };
17   vendorHash = "sha256-tMpcJ37yGr7i91Kwz57FmJ+u2x0CAus0+yWOR10fJLo=";
19   meta = with lib; {
20     description = "Inject custom tags to protobuf golang struct";
21     homepage = "https://github.com/favadi/protoc-go-inject-tag/tree/v1.4.0";
22     license = licenses.bsd2;
23     maintainers = with maintainers; [ elrohirgt ];
24     mainProgram = "protoc-go-inject-tag";
25   };