depot/third_party/nixpkgs/pkgs/tools/networking/mcrcon/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

33 lines
1 KiB
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "mcrcon";
version = "0.7.1";
src = fetchFromGitHub {
owner = "Tiiffi";
repo = "mcrcon";
rev = "v${version}";
sha256 = "004h1glagyw1mic1k461bky0w2fxdfhrhcqjzr9wp6gvyy9s8bix";
};
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 stdenv.lib.maintainers; [ dermetfan ];
license = with stdenv.lib.licenses; [ zlib libpng ];
};
}