1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "minecraft-server-hibernation";
7 src = fetchFromGitHub {
11 hash = "sha256-b6LeqjIraIasHBpaVgy8esl4NV8rdBrfO7ewgeIocS8=";
16 ldflags = [ "-s" "-w" ];
21 # Disable tests requiring network access
28 [ "-skip" "${builtins.concatStringsSep "|" skippedTests}" ];
31 description = "Autostart and stop minecraft-server when players join/leave";
33 homepage = "https://github.com/gekware/minecraft-server-hibernation";
34 license = licenses.gpl3Only;
35 maintainers = with maintainers; [ squarepear ];