1 { lib, stdenv, fetchurl, fetchpatch, SDL, freetype }:
3 stdenv.mkDerivation rec {
8 url = "https://www.libsdl.org/projects/SDL_ttf/release/${pname}-${version}.tar.gz";
9 sha256 = "1dydxd4f5kb1288i5n5568kdk2q7f8mqjr7i7sd33nplxjaxhk3j";
13 # Bug #830: TTF_RenderGlyph_Shaded is broken
15 url = "https://bugzilla-attachments.libsdl.org/attachment.cgi?id=830";
16 sha256 = "0cfznfzg1hs10wl349z9n8chw80i5adl3iwhq4y102g0xrjyb72d";
20 patchFlags = [ "-p0" ];
22 buildInputs = [ SDL freetype ];
24 configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
27 description = "SDL TrueType library";
28 license = licenses.zlib;
29 platforms = platforms.all;
30 homepage = "https://www.libsdl.org/projects/SDL_ttf/release-1.2.html";
31 maintainers = with maintainers; [ abbradar ];