2018-08-17 04:07:06 +01:00
|
|
|
{ stdenv, cmake, fetchFromBitbucket, pkgconfig, qtbase, qttools, qtmultimedia, zlib, bzip2, xxd }:
|
2014-10-29 12:06:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 19:20:27 +00:00
|
|
|
name = "doomseeker-${version}";
|
2018-07-29 00:59:38 +01:00
|
|
|
version = "2018-03-05";
|
2015-12-13 10:46:09 +00:00
|
|
|
|
2018-03-03 19:20:27 +00:00
|
|
|
src = fetchFromBitbucket {
|
|
|
|
owner = "Doomseeker";
|
|
|
|
repo = "doomseeker";
|
2018-07-29 00:59:38 +01:00
|
|
|
rev = "c2c7f37b1afb";
|
|
|
|
sha256 = "17fna3a604miqsvply3klnmypps4ifz8axgd3pj96z46ybxs8akw";
|
2014-10-29 12:06:34 +00:00
|
|
|
};
|
|
|
|
|
2018-07-29 00:59:38 +01:00
|
|
|
patches = [ ./fix_paths.patch ./qt_build_fix.patch ];
|
2015-12-13 10:46:09 +00:00
|
|
|
|
2018-03-03 19:20:27 +00:00
|
|
|
buildInputs = [ qtbase qtmultimedia zlib bzip2 ];
|
2014-10-29 12:06:34 +00:00
|
|
|
|
2018-08-17 04:07:06 +01:00
|
|
|
nativeBuildInputs = [ cmake qttools pkgconfig xxd ];
|
2014-10-29 12:06:34 +00:00
|
|
|
|
2018-03-03 19:20:27 +00:00
|
|
|
enableParallelBuilding = true;
|
2014-10-29 12:06:34 +00:00
|
|
|
|
2018-08-17 04:07:06 +01:00
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isClang "-Wno-error=format-security";
|
|
|
|
|
2017-04-02 18:19:48 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-10-29 12:06:34 +00:00
|
|
|
homepage = http://doomseeker.drdteam.org/;
|
|
|
|
description = "Multiplayer server browser for many Doom source ports";
|
2017-04-02 18:19:48 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.MP2E ];
|
2014-10-29 12:06:34 +00:00
|
|
|
};
|
|
|
|
}
|