9 , freetypeSupport ? true
15 version = "unstable-2023-08-09";
17 src = fetchFromGitHub {
20 rev = "4190211d63c1e5378a9e841d22fa2b96a1099e68";
21 hash = "sha256-28Xgw/KxwZ94r/TXsdISeUtXHSips4irB0D+tEefMYE=";
24 nativeBuildInputs = [ makeWrapper pkg-config ];
25 buildInputs = [ libX11 gdb ]
26 ++ lib.optional freetypeSupport freetype;
29 ./build-use-optional-freetype-with-pkg-config.patch
32 postPatch = lib.forEach extensions (ext: ''
33 cp ${ext} ./${ext.name or (builtins.baseNameOf ext)}
37 patchShebangs build.sh
42 extra_flags=-DUI_FREETYPE_SUBPIXEL ./build.sh
54 wrapProgram $out/bin/gf2 --prefix PATH : ${lib.makeBinPath[ gdb ]}
58 description = "A GDB Frontend";
59 homepage = "https://github.com/nakst/gf";
60 license = licenses.mit;
61 platforms = platforms.linux;
63 maintainers = with maintainers; [ _0xd61 ];