mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
607171e3e5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mcrcon/versions
34 lines
1.0 KiB
Nix
34 lines
1.0 KiB
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mcrcon-${version}";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Tiiffi";
|
|
repo = "mcrcon";
|
|
rev = "v${version}";
|
|
sha256 = "0as60cgl8sflykmwihc6axy1hzx6gjgjav6c7mvlbsc43dv8fs51";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|