nixpkgs/pkgs/games/eternity-engine/default.nix
Cray Elliott db64ebe167 Add eternity engine, a Doom port by James Haley
Eternity Engine is a limit removing port descended from BOOM
2014-09-02 02:04:37 -07:00

29 lines
740 B
Nix

{ stdenv, cmake, mesa, SDL, SDL_mixer, SDL_net, fetchurl }:
stdenv.mkDerivation rec {
name = "eternity-engine-3.40.46";
src = fetchurl {
url = https://github.com/team-eternity/eternity/archive/3.40.46.tar.gz;
sha256 = "0jq8q0agw7lgab9q2h8wcaakvg913l9j3a6ss0hn9661plkw2yb4";
};
cmakeFlags = ''
-DCMAKE_BUILD_TYPE=Release
'';
buildInputs = [ stdenv cmake mesa SDL SDL_mixer SDL_net ];
enableParallelBuilding = true;
installPhase = ''
mkdir -p $out/bin
cp source/eternity $out/bin
'';
meta = {
homepage = http://doomworld.com/eternity;
description = "New school Doom port by James Haley";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ MP2E ];
};
}