forked from mirrors/nixpkgs
commit
013bded602
22
pkgs/servers/http/webhook/default.nix
Normal file
22
pkgs/servers/http/webhook/default.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
|
@ -13696,6 +13696,8 @@ with pkgs;
|
|||
|
||||
webmetro = callPackage ../servers/webmetro { };
|
||||
|
||||
webhook = callPackage ../servers/http/webhook { };
|
||||
|
||||
winstone = callPackage ../servers/http/winstone { };
|
||||
|
||||
xinetd = callPackage ../servers/xinetd { };
|
||||
|
|
Loading…
Reference in a new issue