2013-04-05 22:58:43 +02:00
|
|
|
{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, physfs, SDL_mixer }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 14:15:12 +01:00
|
|
|
name = "d2x-rebirth-0.58.1";
|
2013-04-05 22:58:43 +02:00
|
|
|
src = fetchurl {
|
2013-12-18 14:15:12 +01:00
|
|
|
url = "http://www.dxx-rebirth.com/download/dxx/d2x-rebirth_v0.58.1-src.tar.gz";
|
|
|
|
sha256 = "08mg831afc1v068c0ds70lhmxk8a54494jls7s9hwf02ffhv3sx8";
|
2013-04-05 22:58:43 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ scons SDL mesa physfs SDL_mixer ];
|
2013-04-05 22:58:43 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
scons prefix=$out install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.dxx-rebirth.com/;
|
|
|
|
description = "Source Port of the Descent 2 engine";
|
2016-07-11 02:43:06 +02:00
|
|
|
license = stdenv.lib.licenses.unfree;
|
2013-04-05 22:58:43 +02:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
};
|
|
|
|
}
|