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