summary refs log tree commit diff
path: root/pkgs/development/tools/github-commenter/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/github-commenter/default.nix')
-rw-r--r--pkgs/development/tools/github-commenter/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/tools/github-commenter/default.nix b/pkgs/development/tools/github-commenter/default.nix
new file mode 100644
index 00000000000..969d7950cb9
--- /dev/null
+++ b/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;
+  };
+}