mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
minecraft-server: 1.9.4 -> 1.10
This commit is contained in:
parent
6fd8e5719b
commit
d006617dca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user