10 , nativeBuildInputs ? []
16 inherit pname buildFlags buildInputs nativeBuildInputs postFixup;
17 version = "unstable-2023-08-03";
19 src = fetchFromGitHub {
22 rev = "3adec5d0a53ba9ae32a92fc0a805cf6d5ec107fb";
23 hash = "sha256-p/U02hwKI+YqlVXIS/7+gujknNDLr5L53unjvG5qLJU=";
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;