nixpkgs/pkgs/games/doom-ports/doomseeker/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

30 lines
879 B
Nix

{ lib, stdenv, mkDerivation, cmake, fetchFromBitbucket, pkg-config, 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 pkg-config xxd ];
buildInputs = [ qtbase qtmultimedia zlib bzip2 ];
hardeningDisable = lib.optional stdenv.isDarwin "format";
meta = with lib; {
homepage = "http://doomseeker.drdteam.org/";
description = "Multiplayer server browser for many Doom source ports";
mainProgram = "doomseeker";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.MP2E ];
};
}