mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Add eternity engine, a Doom port by James Haley
Eternity Engine is a limit removing port descended from BOOM
This commit is contained in:
parent
416b20fbd5
commit
db64ebe167
29
pkgs/games/eternity-engine/default.nix
Normal file
29
pkgs/games/eternity-engine/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
30
pkgs/games/eternity-engine/master.nix
Normal file
30
pkgs/games/eternity-engine/master.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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; };
|
||||
|
Loading…
Reference in New Issue
Block a user