2014-09-02 10:36:47 +02:00
|
|
|
{ stdenv, autoconf, automake, pkgconfig, SDL, SDL_mixer, SDL_net, git, fetchgit }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-10-08 15:31:42 +02:00
|
|
|
name = "chocolate-doom-20141008";
|
2014-09-02 10:36:47 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = git://github.com/fragglet/chocolate-doom.git;
|
2014-10-08 15:31:42 +02:00
|
|
|
rev = "63e1c884911f9e3382936f84a388e941b29343e6";
|
|
|
|
sha256 = "1855a70widf1ni7lrfvp3hwxs1fhg1v5l738ckai88xpbak8i14m";
|
2014-09-02 10:36:47 +02:00
|
|
|
};
|
2014-10-08 15:31:42 +02:00
|
|
|
buildInputs = [ autoconf automake pkgconfig SDL SDL_mixer SDL_net git ];
|
2014-09-02 10:36:47 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am
|
|
|
|
./autogen.sh --prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://chocolate-doom.org/;
|
2014-09-09 07:11:14 +02:00
|
|
|
description = "A Doom source port that accurately reproduces the experience of Doom as it was played in the 1990s";
|
2014-09-02 10:36:47 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ MP2E ];
|
|
|
|
};
|
|
|
|
}
|