diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/http/webhook/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/http/webhook/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/http/webhook/default.nix b/nixpkgs/pkgs/servers/http/webhook/default.nix new file mode 100644 index 000000000000..fe428926704e --- /dev/null +++ b/nixpkgs/pkgs/servers/http/webhook/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "webhook"; + version = "2.7.0"; + + goPackagePath = "github.com/adnanh/webhook"; + excludedPackages = [ "test" ]; + + src = fetchFromGitHub { + owner = "adnanh"; + repo = "webhook"; + rev = version; + sha256 = "1spiqjy0z84z96arf57bn6hyvfsd6l8w6nv874mbis6vagifikci"; + }; + + meta = with lib; { + homepage = "https://github.com/adnanh/webhook"; + license = [ licenses.mit ]; + description = "incoming webhook server that executes shell commands"; + }; +} |