nixpkgs/pkgs/tools/networking/mcrcon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.0 KiB
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchFromGitHub }:
2017-05-29 18:24:31 +00:00
stdenv.mkDerivation rec {
pname = "mcrcon";
2021-11-03 14:03:48 +00:00
version = "0.7.2";
2017-05-29 18:24:31 +00:00
src = fetchFromGitHub {
owner = "Tiiffi";
repo = "mcrcon";
rev = "v${version}";
2021-11-03 14:03:48 +00:00
sha256 = "sha256-cedeKsZgEyu0jqN4kBSgMJzFNUfCVXCEwH3M54miSG4=";
2017-05-29 18:24:31 +00:00
};
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";
2017-05-29 18:24:31 +00: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 09:19:50 +00:00
maintainers = with lib.maintainers; [ dermetfan ];
license = with lib.licenses; [ zlib libpng ];
2024-02-11 02:19:15 +00:00
mainProgram = "mcrcon";
2017-05-29 18:24:31 +00:00
};
}