diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/github-commenter/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/github-commenter/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/github-commenter/default.nix b/nixpkgs/pkgs/development/tools/github-commenter/default.nix new file mode 100644 index 000000000000..969d7950cb95 --- /dev/null +++ b/nixpkgs/pkgs/development/tools/github-commenter/default.nix @@ -0,0 +1,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; + }; +} |