lol
at v206 30 lines 784 B view raw
1{ stdenv, cmake, mesa, SDL, SDL_mixer, SDL_net, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "eternity-engine-3.40.46"; 5 src = fetchurl { 6 url = https://github.com/team-eternity/eternity/archive/3.40.46.tar.gz; 7 sha256 = "0jq8q0agw7lgab9q2h8wcaakvg913l9j3a6ss0hn9661plkw2yb4"; 8 }; 9 10 cmakeFlags = '' 11 -DCMAKE_BUILD_TYPE=Release 12 ''; 13 14 buildInputs = [ stdenv cmake mesa SDL SDL_mixer SDL_net ]; 15 16 enableParallelBuilding = true; 17 18 installPhase = '' 19 mkdir -p $out/bin 20 cp source/eternity $out/bin 21 ''; 22 23 meta = { 24 homepage = http://doomworld.com/eternity; 25 description = "New school Doom port by James Haley"; 26 license = stdenv.lib.licenses.gpl3; 27 platforms = stdenv.lib.platforms.linux; 28 maintainers = with stdenv.lib.maintainers; [ MP2E ]; 29 }; 30}