Merge pull request #3935 from MP2E/eternity-engine

Add eternity and eternityMaster, a Doom port by James Haley
This commit is contained in:
Pascal Wittmann 2014-09-07 15:26:11 +02:00
commit 4537c1ab25
2 changed files with 31 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

@ -1001,6 +1001,8 @@ let
ethtool = callPackage ../tools/misc/ethtool { };
eternity = callPackage ../games/eternity-engine { };
ettercap = callPackage ../applications/networking/sniffers/ettercap { };
euca2ools = callPackage ../tools/virtualization/euca2ools { pythonPackages = python26Packages; };