3
0
Fork 0
forked from mirrors/nixpkgs

Adding d1x-rebirth, Descent 1 source port.

This commit is contained in:
Lluís Batlle i Rossell 2013-04-05 22:53:12 +02:00
parent 18b65bfd0b
commit 65c008f653
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 = "d1x-rebirth-0.57.3";
src = fetchurl {
url = "http://www.dxx-rebirth.com/download/dxx/d1x-rebirth_v0.57.3-src.tar.gz";
sha256 = "07dbjza5flsczdsas0adb5xhn13gmhlpixa8ycp8hjm20y9kw1za";
};
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 1 engine";
license = "BSD"; # Parallax license, like BSD I think
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [viric];
};
}

View file

@ -8224,6 +8224,8 @@ let
dwarf_fortress = callPackage_i686 ../games/dwarf-fortress { };
d1x_rebirth = callPackage ../games/d1x-rebirth { };
eduke32 = callPackage ../games/eduke32 {
stdenv = overrideGCC stdenv gcc47;
};