2014-10-29 12:06:34 +00:00
|
|
|
{ stdenv, cmake, fetchurl, pkgconfig, qt4, zlib, bzip2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-04 19:00:34 +01:00
|
|
|
name = "doomseeker-1.0";
|
2015-12-13 10:46:09 +00:00
|
|
|
|
2014-10-29 12:06:34 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://doomseeker.drdteam.org/files/${name}_src.tar.bz2";
|
2015-04-04 19:00:34 +01:00
|
|
|
sha256 = "172ybxg720r64hp6aah0hqvxklqv1cf8v7kwx0ng5ap0h20jydbw";
|
2014-10-29 12:06:34 +00:00
|
|
|
};
|
|
|
|
|
2015-12-13 10:46:09 +00:00
|
|
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
2014-10-29 12:06:34 +00:00
|
|
|
|
2015-12-13 10:46:09 +00:00
|
|
|
buildInputs = [ qt4 zlib bzip2 ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2014-10-29 12:06:34 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's#/usr/share/applications#$out/share/applications#' -i src/core/CMakeLists.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://doomseeker.drdteam.org/;
|
|
|
|
description = "Multiplayer server browser for many Doom source ports";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-11-19 11:03:00 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-10-29 12:06:34 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ MP2E ];
|
|
|
|
};
|
|
|
|
}
|