2013-04-02 22:52:50 +02:00
|
|
|
{stdenv, fetchurl, unzip, cmake, SDL, mesa, zlib, libjpeg, libogg, libvorbis
|
|
|
|
, openalSoft, curl }:
|
2013-04-01 17:56:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
hash = "92a41322f4aa8bd45395d8088721c9a2bf43c79b";
|
|
|
|
name = "dhewm3-20130113-${hash}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dhewm/dhewm3/zipball/${hash}";
|
|
|
|
sha256 = "0c17k60xhimpqi1xi9s1l7jbc97pqjnk4lgwyjb0agc3dkr73zwd";
|
|
|
|
};
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
unzip ${src}
|
|
|
|
cd */neo
|
|
|
|
'';
|
|
|
|
|
2013-04-02 22:52:50 +02:00
|
|
|
buildInputs = [ unzip cmake SDL mesa zlib libjpeg libogg libvorbis openalSoft
|
2013-04-01 17:56:34 +02:00
|
|
|
curl ];
|
|
|
|
|
2013-04-04 22:25:02 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-04-01 17:56:34 +02:00
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/dhewm/dhewm3;
|
|
|
|
description = "Doom 3 port to SDL";
|
|
|
|
license = "GPLv3";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|