mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
30 lines
570 B
Nix
30 lines
570 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "webhook";
|
|
version = "2.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "adnanh";
|
|
repo = "webhook";
|
|
rev = version;
|
|
sha256 = "0n03xkgwpzans0cymmzb0iiks8mi2c76xxdak780dk0jbv6qgp5i";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
subPackages = [ "." ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Incoming webhook server that executes shell commands";
|
|
homepage = "https://github.com/adnanh/webhook";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ azahi ];
|
|
};
|
|
}
|