9 enableSdltest ? (!stdenv.hostPlatform.isDarwin),
12 stdenv.mkDerivation (finalAttrs: {
17 url = "https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${finalAttrs.version}.tar.gz";
18 hash = "sha256-ckzYlez02jGaPvFkiStyB4vZJjKl2BIREmHN4kjrzbc=";
22 # Bug #830: TTF_RenderGlyph_Shaded is broken
24 url = "https://bugzilla-attachments.libsdl.org/attachments/830/renderglyph_shaded.patch.txt";
25 hash = "sha256-TZzlZe7gCRA8wZDHQZsqESAOGbLpJzIoB0HD8L6z3zE=";
29 patchFlags = [ "-p0" ];
42 (lib.enableFeature enableSdltest "sdltest")
48 homepage = "https://github.com/libsdl-org/SDL_ttf";
49 description = "SDL TrueType library";
50 license = lib.licenses.zlib;
51 maintainers = lib.teams.sdl.members ++ (with lib.maintainers; [ ]);
52 inherit (SDL.meta) platforms;