minecraft-server-hibernation: 2.4.10 -> 2.5.0

This commit is contained in:
Aaron Jheng 2023-09-08 11:19:57 +08:00
parent d30fde0977
commit dd5771c0f4
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -2,24 +2,35 @@
buildGoModule rec {
pname = "minecraft-server-hibernation";
version = "2.4.10";
version = "2.5.0";
src = fetchFromGitHub {
owner = "gekware";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hflPVO+gqHr0jDrhWzd7t/E6WsswiMKMHCkTUK4E05k=";
hash = "sha256-b6LeqjIraIasHBpaVgy8esl4NV8rdBrfO7ewgeIocS8=";
};
vendorHash = "sha256-W6P7wz1FGL6Os1zmmqWJ7/sO8zizfnwg+TMiFWGHIOM=";
vendorHash = null;
ldflags = [ "-s" "-w" ];
checkFlags =
let
skippedTests = [
# Disable tests requiring network access
"Test_getPing"
"Test_getReqType"
"Test_QueryBasic"
"Test_QueryFull"
];
in
[ "-skip" "${builtins.concatStringsSep "|" skippedTests}" ];
meta = with lib; {
description = "Autostart and stop minecraft-server when players join/leave";
homepage = "https://github.com/gekware/minecraft-server-hibernation";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ squarepear ];
};
}