nixpkgs/pkgs/by-name/we/webhook/package.nix
2026-06-26 02:38:36 +03:00

34 lines
661 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nixosTests,
}:
buildGoModule (finalAttrs: {
pname = "webhook";
version = "2.8.3";
src = fetchFromGitHub {
owner = "adnanh";
repo = "webhook";
rev = finalAttrs.version;
sha256 = "sha256-P+uLVv0YMlTXrbWVapXRXc+VvQZxUiimLG0EX9tDxpM=";
};
vendorHash = null;
subPackages = [ "." ];
doCheck = false;
passthru.tests = { inherit (nixosTests) webhook; };
meta = {
description = "Incoming webhook server that executes shell commands";
mainProgram = "webhook";
homepage = "https://github.com/adnanh/webhook";
license = lib.licenses.mit;
maintainers = [ ];
};
})