2018-08-17 05:07:06 +02:00
|
|
|
{ stdenv, cmake, fetchFromBitbucket, pkgconfig, qtbase, qttools, qtmultimedia, zlib, bzip2, xxd }:
|
2014-10-29 13:06:34 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "doomseeker";
|
2018-07-29 01:59:38 +02:00
|
|
|
version = "2018-03-05";
|
2015-12-13 11:46:09 +01:00
|
|
|
|
2018-03-03 20:20:27 +01:00
|
|
|
src = fetchFromBitbucket {
|
|
|
|
owner = "Doomseeker";
|
|
|
|
repo = "doomseeker";
|
2018-07-29 01:59:38 +02:00
|
|
|
rev = "c2c7f37b1afb";
|
|
|
|
sha256 = "17fna3a604miqsvply3klnmypps4ifz8axgd3pj96z46ybxs8akw";
|
2014-10-29 13:06:34 +01:00
|
|
|
};
|
|
|
|
|
2018-07-29 01:59:38 +02:00
|
|
|
patches = [ ./fix_paths.patch ./qt_build_fix.patch ];
|
2015-12-13 11:46:09 +01:00
|
|
|
|
2018-03-03 20:20:27 +01:00
|
|
|
buildInputs = [ qtbase qtmultimedia zlib bzip2 ];
|
2014-10-29 13:06:34 +01:00
|
|
|
|
2018-08-17 05:07:06 +02:00
|
|
|
nativeBuildInputs = [ cmake qttools pkgconfig xxd ];
|
2014-10-29 13:06:34 +01:00
|
|
|
|
2018-03-03 20:20:27 +01:00
|
|
|
enableParallelBuilding = true;
|
2014-10-29 13:06:34 +01:00
|
|
|
|
2019-10-30 02:29:30 +01:00
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
|
2018-08-17 05:07:06 +02: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
|
|
|
};
|
|
|
|
}
|