about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/github-commenter/default.nix
blob: 969d7950cb95bf8f732d0598e79a131415c84ffd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, fetchFromGitHub, buildGoPackage }:

buildGoPackage rec {
  pname = "github-commenter";
  version = "0.5.0";

  src = fetchFromGitHub {
    owner = "cloudposse";
    repo = pname;
    rev = version;
    sha256 = "0y7yw7x8gqfbkqdfrwd9lffx3rrp62nz1aa86liy2dja97dacpij";
  };

  goPackagePath = "github.com/cloudposse/${pname}";

  goDeps = ./deps.nix;

  meta = with lib; {
    description = "Command line utility for creating GitHub comments on Commits, Pull Request Reviews or Issues";
    license = licenses.asl20;
    homepage = "https://github.com/cloudposse/github-commenter";
    maintainers = [ maintainers.mmahut ];
    platforms = platforms.linux;
  };
}