python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / SDL2_ttf / 2.0.15.nix
bloba5057c0fbec84b6e9a4e6a49b10b91a131555de0
1 { lib, stdenv, pkg-config, darwin, fetchurl, SDL2, freetype, libGL }:
3 stdenv.mkDerivation rec {
4   pname = "SDL2_ttf";
5   version = "2.0.15";
7   src = fetchurl {
8     url = "https://www.libsdl.org/projects/SDL_ttf/release/${pname}-${version}.tar.gz";
9     sha256 = "0cyd48dipc0m399qy8s03lci8b0bpiy8xlkvrm2ia7wcv0dfpv59";
10   };
12   configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
14   nativeBuildInputs = [ pkg-config ];
16   buildInputs = [ SDL2 freetype libGL ]
17     ++ lib.optional stdenv.isDarwin darwin.libobjc;
19   meta = with lib; {
20     description = "SDL TrueType library";
21     platforms = platforms.unix;
22     license = licenses.zlib;
23     homepage = "https://www.libsdl.org/projects/SDL_ttf/";
24   };