2018-10-05 13:13:26 +02:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "webhook";
|
2020-12-08 10:12:54 +01:00
|
|
|
version = "2.8.0";
|
2018-10-05 13:13:26 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/adnanh/webhook";
|
|
|
|
excludedPackages = [ "test" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "adnanh";
|
|
|
|
repo = "webhook";
|
|
|
|
rev = version;
|
2020-12-08 10:12:54 +01:00
|
|
|
sha256 = "0n03xkgwpzans0cymmzb0iiks8mi2c76xxdak780dk0jbv6qgp5i";
|
2018-10-05 13:13:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/adnanh/webhook";
|
2018-10-05 13:13:26 +02:00
|
|
|
license = [ licenses.mit ];
|
|
|
|
description = "incoming webhook server that executes shell commands";
|
|
|
|
};
|
|
|
|
}
|