3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #16493 from ikervagyok/mineraft1.10

minecraft-server: 1.9.4 -> 1.10.2
This commit is contained in:
Arseniy Seroka 2016-06-27 16:46:47 +03:00 committed by GitHub
commit 52a1df089f

View file

@ -2,13 +2,15 @@
stdenv.mkDerivation rec {
name = "minecraft-server-${version}";
version = "1.9.4";
version = "1.10.2";
src = fetchurl {
url = "http://s3.amazonaws.com/Minecraft.Download/versions/${version}/minecraft_server.${version}.jar";
sha256 = "1ba0xb0a8vkzpl4r6dkkh4y7sk667m4y5gbyxlads16q22magzhk";
sha256 = "08bss3laa265aavdgivzsv7asd5s2sdqnlqr767j3yf54y14cpqr";
};
preferLocalBuild = true;
installPhase = ''
mkdir -p $out/bin $out/lib/minecraft
cp -v $src $out/lib/minecraft/server.jar