Add eternity engine, a Doom port by James Haley

Eternity Engine is a limit removing port descended from BOOM
This commit is contained in:
Cray Elliott 2014-09-02 02:03:54 -07:00
parent 416b20fbd5
commit db64ebe167
3 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ 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 ];
};
}

View File

@ -0,0 +1,30 @@
{ stdenv, cmake, mesa, SDL, SDL_mixer, SDL_net, fetchgit }:
stdenv.mkDerivation rec {
name = "eternity-engine-20140902";
src = fetchgit {
url = git://github.com/team-eternity/eternity.git;
rev = "db21379abb33f6d92dc0e1665e527e4d49acc722";
sha256 = "0k54yvxqxnd60az21b734ka3myxkqb7pjmdp3klrkfwp1kl02ysc";
};
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 ];
};
}

View File

@ -993,6 +993,9 @@ let
ethtool = callPackage ../tools/misc/ethtool { };
eternity = callPackage ../games/eternity-engine { };
eternityMaster = callPackage ../games/eternity-engine/master.nix { };
ettercap = callPackage ../applications/networking/sniffers/ettercap { };
euca2ools = callPackage ../tools/virtualization/euca2ools { pythonPackages = python26Packages; };