13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
18 owner = "frankheckenbach";
21 hash = "sha256-6TDNGoMeBLnucmHRgEDIVWcjlJb7N0sTluqBwRMMWn4=";
24 # GL_DYLIB is hardcoded to an impure path
25 # /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
26 # and breaks build on recent macOS versions
28 substituteInPlace m4/gl.m4 \
29 --replace ' -dylib_file $GL_DYLIB: $GL_DYLIB' ""
49 install -Dm644 src/FTSize.h src/FTFace.h -t $out/include/FTGL
53 homepage = "https://github.com/frankheckenbach/ftgl";
54 description = "Font rendering library for OpenGL applications";
56 FTGL is a free cross-platform Open Source C++ library that uses Freetype2
57 to simplify rendering fonts in OpenGL applications. FTGL supports bitmaps,
58 pixmaps, texture maps, outlines, polygon mesh, and extruded polygon
61 license = licenses.mit;
62 maintainers = with maintainers; [ AndersonTorres ];
63 platforms = platforms.unix;