2013-04-05 21:53:12 +01:00
|
|
|
{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, physfs, SDL_mixer }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 13:14:36 +00:00
|
|
|
name = "d1x-rebirth-0.58.1";
|
2013-04-05 21:53:12 +01:00
|
|
|
src = fetchurl {
|
2013-12-18 13:14:36 +00:00
|
|
|
url = "http://www.dxx-rebirth.com/download/dxx/d1x-rebirth_v0.58.1-src.tar.gz";
|
|
|
|
sha256 = "13p3nfqaa78h6bl0k8mdsn90ai99wbqaj6qlsjsgsn8imficivsv";
|
2013-04-05 21:53:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2013-04-05 21:53:12 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
};
|
|
|
|
}
|