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:
commit
52a1df089f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue