python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / SDL_Pango / default.nix
blob7c90092fe8ddcf864d2766ecaa867cb1a13853b6
1 { lib, stdenv, fetchpatch, fetchurl, SDL, autoreconfHook, pango, pkg-config }:
3 stdenv.mkDerivation rec {
4   pname = "SDL_Pango";
5   version = "0.1.2";
7   src = fetchurl {
8     url = "mirror://sourceforge/sdlpango/${pname}-${version}.tar.gz";
9     sha256 = "197baw1dsg0p4pljs5k0fshbyki00r4l49m1drlpqw6ggawx6xbz";
10   };
12   patches = [
13     (fetchpatch {
14       url = "https://sources.debian.org/data/main/s/sdlpango/0.1.2-6/debian/patches/api_additions.patch";
15       sha256 = "00p5ry5gd3ixm257p9i2c4jg0qj8ipk8nf56l7c9fma8id3zxyld";
16     })
17     ./fixes.patch
18   ];
20   preConfigure = "autoreconf -i -f";
21   configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
23   nativeBuildInputs = [ pkg-config autoreconfHook ];
24   buildInputs = [ SDL pango ];
26   meta = with lib; {
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 ];
32   };