2015-03-07 11:49:59 +00:00
|
|
|
{ stdenv, fetchurl, SDL2, freetype }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-10 00:24:32 +01:00
|
|
|
name = "SDL2_ttf-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
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [SDL2 freetype];
|
|
|
|
|
|
|
|
postInstall = "ln -s $out/include/SDL2/SDL_ttf.h $out/include/";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SDL TrueType library";
|
|
|
|
};
|
|
|
|
}
|