1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/development/libraries/SDL2_ttf/default.nix

23 lines
627 B
Nix
Raw Normal View History

{ stdenv, darwin, fetchurl, SDL2, freetype, mesa_noglu }:
2015-03-07 11:49:59 +00:00
stdenv.mkDerivation rec {
name = "SDL2_ttf-${version}";
version = "2.0.14";
2015-03-07 11:49:59 +00:00
src = fetchurl {
url = "https://www.libsdl.org/projects/SDL_ttf/release/${name}.tar.gz";
2016-05-10 00:24:32 +01:00
sha256 = "0xljwcpvd2knrjdfag5b257xqayplz55mqlszrqp0kpnphh5xnrl";
2015-03-07 11:49:59 +00:00
};
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
buildInputs = [ SDL2 freetype mesa_noglu ];
2015-03-07 11:49:59 +00:00
meta = with stdenv.lib; {
2015-03-07 11:49:59 +00:00
description = "SDL TrueType library";
platforms = platforms.unix;
license = licenses.zlib;
homepage = https://www.libsdl.org/projects/SDL_ttf/;
2015-03-07 11:49:59 +00:00
};
}