summary refs log tree commit diff
path: root/pkgs/servers/http/webhook
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2018-10-05 12:13:26 +0100
committerAlyssa Ross <hi@alyssa.is>2018-10-05 12:14:49 +0100
commit7e3b43d75af65b4a81095d19183fbab619f6633e (patch)
tree4648a9bcf311a62163ba0c377628fed736176c5a /pkgs/servers/http/webhook
parentbea3f1818590d26221b702c2789932cfad552eee (diff)
downloadnixpkgs-7e3b43d75af65b4a81095d19183fbab619f6633e.tar
nixpkgs-7e3b43d75af65b4a81095d19183fbab619f6633e.tar.gz
nixpkgs-7e3b43d75af65b4a81095d19183fbab619f6633e.tar.bz2
nixpkgs-7e3b43d75af65b4a81095d19183fbab619f6633e.tar.lz
nixpkgs-7e3b43d75af65b4a81095d19183fbab619f6633e.tar.xz
nixpkgs-7e3b43d75af65b4a81095d19183fbab619f6633e.tar.zst
nixpkgs-7e3b43d75af65b4a81095d19183fbab619f6633e.zip
webhook: init at 2.6.8
Diffstat (limited to 'pkgs/servers/http/webhook')
-rw-r--r--pkgs/servers/http/webhook/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/servers/http/webhook/default.nix b/pkgs/servers/http/webhook/default.nix
new file mode 100644
index 00000000000..5d6b47d28b5
--- /dev/null
+++ b/pkgs/servers/http/webhook/default.nix
@@ -0,0 +1,22 @@
+{ lib, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  name = "webhook-${version}";
+  version = "2.6.8";
+
+  goPackagePath = "github.com/adnanh/webhook";
+  excludedPackages = [ "test" ];
+
+  src = fetchFromGitHub {
+    owner = "adnanh";
+    repo = "webhook";
+    rev = version;
+    sha256 = "05q6nv04ml1gr4k79czg03i3ifl05xq29iapkgrl3k0a36czxlgs";
+  };
+
+  meta = with lib; {
+    homepage = https://github.com/adnanh/webhook;
+    license = [ licenses.mit ];
+    description = "incoming webhook server that executes shell commands";
+  };
+}