Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mcrcon";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Tiiffi";
|
|
repo = "mcrcon";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-cedeKsZgEyu0jqN4kBSgMJzFNUfCVXCEwH3M54miSG4=";
|
|
};
|
|
|
|
buildPhase = ''
|
|
$CC mcrcon.c -o mcrcon
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -Dm 755 mcrcon $out/bin/mcrcon
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://bukkit.org/threads/admin-rcon-mcrcon-remote-connection-client-for-minecraft-servers.70910/";
|
|
description = "Minecraft console client with Bukkit coloring support";
|
|
longDescription = ''
|
|
Mcrcon is a powerful Minecraft RCON terminal client with Bukkit coloring support.
|
|
It is well suited for remote administration and to be used as part of automated server maintenance scripts.
|
|
It does not trigger "IO: Broken pipe" or "IO: Connection reset" spam bugs on the server side.
|
|
'';
|
|
maintainers = with lib.maintainers; [ dermetfan ];
|
|
license = with lib.licenses; [
|
|
zlib
|
|
libpng
|
|
];
|
|
mainProgram = "mcrcon";
|
|
};
|
|
}
|