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