about summary refs log tree commit diff
path: root/pkgs/servers/http/webhook/default.nix
blob: d40adb171a6394370e881e59b1defe4995897bc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "webhook";
  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";
  };
}