Merge pull request #253942 from aaronjheng/minecraft-server-hibernation

minecraft-server-hibernation: 2.4.10 -> 2.5.0
This commit is contained in:
Mario Rodas 2023-09-23 08:55:20 -05:00 committed by GitHub
commit 3be91db1b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];
};
}