Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 32 lines 635 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4, nixosTests 5}: 6 7buildGoModule rec { 8 pname = "webhook"; 9 version = "2.8.1"; 10 11 src = fetchFromGitHub { 12 owner = "adnanh"; 13 repo = "webhook"; 14 rev = version; 15 sha256 = "sha256-8OpVpm9nEroUlr41VgnyM6sxd/FlSvoQK5COOWvo4Y4="; 16 }; 17 18 vendorHash = null; 19 20 subPackages = [ "." ]; 21 22 doCheck = false; 23 24 passthru.tests = { inherit (nixosTests) webhook; }; 25 26 meta = with lib; { 27 description = "Incoming webhook server that executes shell commands"; 28 homepage = "https://github.com/adnanh/webhook"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ azahi ]; 31 }; 32}