10 , nativeBuildInputs ? []
16 inherit pname buildFlags buildInputs nativeBuildInputs postFixup;
17 version = "0-unstable-2024-04-13";
19 src = fetchFromGitHub {
22 rev = "1f9f3635f0aef3b2eed6b40e35fcf6223c6ad533";
23 hash = "sha256-AgTkkP8pT6yioIcVNpxmfCFF0M+7BGx3TXgQSkOgfPI=";
27 "PKGCONFIG=$(PKG_CONFIG)"
31 enableParallelBuilding = true;
33 substituteInPlace ./engine/Makefile \
34 --replace "I/usr/include/opus" "I${libopus.dev}/include/opus"
35 substituteInPlace ./engine/gl/gl_vidlinuxglx.c \
36 --replace 'Sys_LoadLibrary("libXrandr"' 'Sys_LoadLibrary("${xorg.libXrandr}/lib/libXrandr.so"'
42 install -Dm755 engine/release/${releaseFile} $out/bin/${pname}
49 homepage = "https://fteqw.org";
51 FTE is a game engine baed on QuakeWorld able to
52 play games such as Quake 1, 2, 3, and Hexen 2.
53 It includes various features such as extended map
54 limits, vulkan and OpenGL renderers, a dedicated
55 server, and fteqcc, for easier QuakeC development
57 maintainers = with maintainers; [ necrophcodr ];
58 license = licenses.gpl2Plus;
59 platforms = platforms.linux;