1 { lib, stdenv, fetchpatch, fetchurl, SDL, autoreconfHook, pango, pkg-config }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/sdlpango/${pname}-${version}.tar.gz";
9 sha256 = "197baw1dsg0p4pljs5k0fshbyki00r4l49m1drlpqw6ggawx6xbz";
14 url = "https://sources.debian.org/data/main/s/sdlpango/0.1.2-6/debian/patches/api_additions.patch";
15 sha256 = "00p5ry5gd3ixm257p9i2c4jg0qj8ipk8nf56l7c9fma8id3zxyld";
20 preConfigure = "autoreconf -i -f";
21 configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
23 nativeBuildInputs = [ pkg-config autoreconfHook ];
24 buildInputs = [ SDL pango ];
27 description = "Connects the Pango rendering engine to SDL";
28 license = licenses.lgpl21Plus;
29 platforms = platforms.all;
30 homepage = "http://sdlpango.sourceforge.net/";
31 maintainers = with maintainers; [ puckipedia ];