2014-10-29 13:06:34 +01:00
|
|
|
{ stdenv, cmake, fetchurl, pkgconfig, qt4, zlib, bzip2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-09-15 20:22:46 +02:00
|
|
|
name = "doomseeker-1.1";
|
2015-12-13 11:46:09 +01:00
|
|
|
|
2014-10-29 13:06:34 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://doomseeker.drdteam.org/files/${name}_src.tar.bz2";
|
2017-09-15 20:22:46 +02:00
|
|
|
sha256 = "0nmq8s842z30ngzikrmfx0xpnk4klxdv37y26chs002rnj010r7h";
|
2014-10-29 13:06:34 +01:00
|
|
|
};
|
|
|
|
|
2015-12-13 11:46:09 +01:00
|
|
|
buildInputs = [ qt4 zlib bzip2 ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2014-10-29 13:06:34 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
patchPhase = ''
|
2017-02-01 08:11:03 +01:00
|
|
|
substituteInPlace src/core/CMakeLists.txt --replace /usr/share/applications "$out"/share/applications
|
2014-10-29 13:06:34 +01:00
|
|
|
'';
|
|
|
|
|
2017-04-02 19:19:48 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-10-29 13:06:34 +01:00
|
|
|
homepage = http://doomseeker.drdteam.org/;
|
|
|
|
description = "Multiplayer server browser for many Doom source ports";
|
2017-04-02 19:19:48 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.MP2E ];
|
2014-10-29 13:06:34 +01:00
|
|
|
};
|
|
|
|
}
|