7 stdenv.mkDerivation rec {
12 url = "https://github.com/magefree/mage/releases/download/xmage_1.4.42V6/xmage_${version}.zip";
13 sha256 = "14s4885ldi0rplqmab5m775plsqmmm0m89j402caiqm2q9mzvkhd";
16 preferLocalBuild = true;
19 ${unzip}/bin/unzip $src
26 cat << EOS > $out/bin/xmage
27 exec ${jdk8}/bin/java -Xms256m -Xmx512m -XX:MaxPermSize=384m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -jar $out/mage-client/lib/mage-client-1.4.42.jar
30 chmod +x $out/bin/xmage
34 description = "Magic Another Game Engine";
35 sourceProvenance = with sourceTypes; [ binaryBytecode ];
36 license = licenses.mit;
37 maintainers = with maintainers; [ matthiasbeyer ];
38 homepage = "http://xmage.de/";