nixpkgs/pkgs/servers/http/webhook/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
570 B
Nix
Raw Normal View History

2022-06-07 16:06:45 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
2018-10-05 11:13:26 +00:00
2022-06-07 16:06:45 +00:00
buildGoModule rec {
pname = "webhook";
2020-12-08 09:12:54 +00:00
version = "2.8.0";
2018-10-05 11:13:26 +00:00
src = fetchFromGitHub {
owner = "adnanh";
repo = "webhook";
rev = version;
2020-12-08 09:12:54 +00:00
sha256 = "0n03xkgwpzans0cymmzb0iiks8mi2c76xxdak780dk0jbv6qgp5i";
2018-10-05 11:13:26 +00:00
};
2022-06-07 16:06:45 +00:00
vendorSha256 = null;
subPackages = [ "." ];
doCheck = false;
2018-10-05 11:13:26 +00:00
meta = with lib; {
2022-06-07 16:06:45 +00:00
description = "Incoming webhook server that executes shell commands";
homepage = "https://github.com/adnanh/webhook";
2022-06-07 16:06:45 +00:00
license = licenses.mit;
maintainers = with maintainers; [ azahi ];
2018-10-05 11:13:26 +00:00
};
}