3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/doomseeker/default.nix
Benjamin Hipple 5ef4af7afc
doomseeker: add qt wrapper, cleanup (#79794)
This avoids using NIX_CFLAGS_COMPILE by switching to hardeningDisable.
The hack is also only needed for darwin sources and is not specific to
clang.

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2020-02-17 04:50:44 -05:00

29 lines
852 B
Nix

{ stdenv, mkDerivation, cmake, fetchFromBitbucket, pkgconfig, qtbase, qttools, qtmultimedia, zlib, bzip2, xxd }:
mkDerivation {
pname = "doomseeker";
version = "2018-03-05";
src = fetchFromBitbucket {
owner = "Doomseeker";
repo = "doomseeker";
rev = "c2c7f37b1afb";
sha256 = "17fna3a604miqsvply3klnmypps4ifz8axgd3pj96z46ybxs8akw";
};
patches = [ ./fix_paths.patch ./qt_build_fix.patch ];
nativeBuildInputs = [ cmake qttools pkgconfig xxd ];
buildInputs = [ qtbase qtmultimedia zlib bzip2 ];
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format";
meta = with stdenv.lib; {
homepage = http://doomseeker.drdteam.org/;
description = "Multiplayer server browser for many Doom source ports";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.MP2E ];
};
}