From d006617dca56e2845f16c2b249f1083d1e52ff69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lengyel=20Bal=C3=A1zs?= Date: Sat, 25 Jun 2016 12:11:08 +0200 Subject: [PATCH] minecraft-server: 1.9.4 -> 1.10 --- pkgs/games/minecraft-server/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/games/minecraft-server/default.nix b/pkgs/games/minecraft-server/default.nix index bcd3fcf9df2..a9a03bd2dcd 100644 --- a/pkgs/games/minecraft-server/default.nix +++ b/pkgs/games/minecraft-server/default.nix @@ -2,13 +2,15 @@ stdenv.mkDerivation rec { name = "minecraft-server-${version}"; - version = "1.9.4"; + version = "1.10"; src = fetchurl { url = "http://s3.amazonaws.com/Minecraft.Download/versions/${version}/minecraft_server.${version}.jar"; - sha256 = "1ba0xb0a8vkzpl4r6dkkh4y7sk667m4y5gbyxlads16q22magzhk"; + sha256 = "00a204450qy0dkzl47rf0p3di7aa5xj76yshazgxw08aj8pafi6x"; }; + preferLocalBuild = true; + installPhase = '' mkdir -p $out/bin $out/lib/minecraft cp -v $src $out/lib/minecraft/server.jar