nixpkgs/pkgs/servers/http/webhook/default.nix
2020-12-08 09:12:54 +00:00

23 lines
538 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "webhook";
version = "2.8.0";
goPackagePath = "github.com/adnanh/webhook";
excludedPackages = [ "test" ];
src = fetchFromGitHub {
owner = "adnanh";
repo = "webhook";
rev = version;
sha256 = "0n03xkgwpzans0cymmzb0iiks8mi2c76xxdak780dk0jbv6qgp5i";
};
meta = with lib; {
homepage = "https://github.com/adnanh/webhook";
license = [ licenses.mit ];
description = "incoming webhook server that executes shell commands";
};
}