3
0
Fork 0
forked from mirrors/nixpkgs

Adding d2x-rebirth, source port of the Descent 2 engine

This commit is contained in:
Lluís Batlle i Rossell 2013-04-05 22:58:43 +02:00
parent 65c008f653
commit 04d41f95d0
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, physfs, SDL_mixer }:
stdenv.mkDerivation rec {
name = "d2x-rebirth-0.57.3";
src = fetchurl {
url = "http://www.dxx-rebirth.com/download/dxx/d2x-rebirth_v0.57.3-src.tar.gz";
sha256 = "0yyandmxz12bbpnd746nddjlqh5i7dylwm006shixis3w3giz77c";
};
buildInputs = [ scons pkgconfig SDL mesa physfs SDL_mixer ];
installPhase = ''
scons prefix=$out install
'';
meta = {
homepage = http://www.dxx-rebirth.com/;
description = "Source Port of the Descent 2 engine";
license = "BSD"; # Parallax license, like BSD I think
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [viric];
};
}

View file

@ -8226,6 +8226,8 @@ let
d1x_rebirth = callPackage ../games/d1x-rebirth { };
d2x_rebirth = callPackage ../games/d2x-rebirth { };
eduke32 = callPackage ../games/eduke32 {
stdenv = overrideGCC stdenv gcc47;
};