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

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

33 lines
635 B
Nix
Raw Normal View History

2022-06-07 16:06:45 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
2020-03-22 11:49:51 +00:00
, nixosTests
2022-06-07 16:06:45 +00:00
}:
2018-10-05 11:13:26 +00:00
2022-06-07 16:06:45 +00:00
buildGoModule rec {
pname = "webhook";
2023-05-30 02:04:29 +00:00
version = "2.8.1";
2018-10-05 11:13:26 +00:00
src = fetchFromGitHub {
owner = "adnanh";
repo = "webhook";
rev = version;
2023-05-30 02:04:29 +00:00
sha256 = "sha256-8OpVpm9nEroUlr41VgnyM6sxd/FlSvoQK5COOWvo4Y4=";
2018-10-05 11:13:26 +00:00
};
2023-05-30 02:04:29 +00:00
vendorHash = null;
2022-06-07 16:06:45 +00:00
subPackages = [ "." ];
doCheck = false;
2020-03-22 11:49:51 +00:00
passthru.tests = { inherit (nixosTests) webhook; };
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
};
}