summary refs log tree commit diff
path: root/pkgs/tools/networking/mcrcon
diff options
context:
space:
mode:
authorRobin Stumm <serverkorken@gmail.com>2017-05-29 20:24:31 +0200
committerRobin Stumm <serverkorken@gmail.com>2017-05-29 22:46:23 +0200
commit75a94a5a28b33f6bad29f17c2986f3c173929cd7 (patch)
tree5564daeada3abd83e4ae08022d0444a723e96562 /pkgs/tools/networking/mcrcon
parent97eddf0907edfbb2e80258b1104034dbff90bd53 (diff)
downloadnixpkgs-75a94a5a28b33f6bad29f17c2986f3c173929cd7.tar
nixpkgs-75a94a5a28b33f6bad29f17c2986f3c173929cd7.tar.gz
nixpkgs-75a94a5a28b33f6bad29f17c2986f3c173929cd7.tar.bz2
nixpkgs-75a94a5a28b33f6bad29f17c2986f3c173929cd7.tar.lz
nixpkgs-75a94a5a28b33f6bad29f17c2986f3c173929cd7.tar.xz
nixpkgs-75a94a5a28b33f6bad29f17c2986f3c173929cd7.tar.zst
nixpkgs-75a94a5a28b33f6bad29f17c2986f3c173929cd7.zip
mcrcon: init at 0.0.5
Diffstat (limited to 'pkgs/tools/networking/mcrcon')
-rw-r--r--pkgs/tools/networking/mcrcon/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/networking/mcrcon/default.nix b/pkgs/tools/networking/mcrcon/default.nix
new file mode 100644
index 00000000000..eda93c82cce
--- /dev/null
+++ b/pkgs/tools/networking/mcrcon/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "mcrcon-${version}";
+  version = "0.0.5";
+
+  src = fetchFromGitHub {
+    owner = "Tiiffi";
+    repo = "mcrcon";
+    rev = "v${version}";
+    sha256 = "1pwr1cjldjy8bxqpp7w03nvdpw8l4vqfnk6w6b3mf0qpap1k700z";
+  };
+
+  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 ];
+  };
+}