2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2017-05-29 20:24:31 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mcrcon";
|
2020-01-07 00:12:26 +01:00
|
|
|
version = "0.7.1";
|
2017-05-29 20:24:31 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tiiffi";
|
|
|
|
repo = "mcrcon";
|
|
|
|
rev = "v${version}";
|
2020-01-07 00:12:26 +01:00
|
|
|
sha256 = "004h1glagyw1mic1k461bky0w2fxdfhrhcqjzr9wp6gvyy9s8bix";
|
2017-05-29 20:24:31 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
$CC mcrcon.c -o mcrcon
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm 755 mcrcon $out/bin/mcrcon
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://bukkit.org/threads/admin-rcon-mcrcon-remote-connection-client-for-minecraft-servers.70910/";
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "Minecraft console client with Bukkit coloring support";
|
2017-05-29 20:24:31 +02:00
|
|
|
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.
|
|
|
|
'';
|
2021-01-15 10:19:50 +01:00
|
|
|
maintainers = with lib.maintainers; [ dermetfan ];
|
|
|
|
license = with lib.licenses; [ zlib libpng ];
|
2017-05-29 20:24:31 +02:00
|
|
|
};
|
|
|
|
}
|