2010-07-28 11:55:54 +00:00
|
|
|
{ stdenv, fetchurl, SDL, freetype }:
|
2009-03-03 13:27:40 +00:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-03-14 09:35:37 +00:00
|
|
|
name = "SDL_ttf-2.0.11";
|
2007-08-09 17:33:18 +00:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
src = fetchurl {
|
2014-03-14 09:35:37 +00:00
|
|
|
url = http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz;
|
|
|
|
sha256 = "1dydxd4f5kb1288i5n5568kdk2q7f8mqjr7i7sd33nplxjaxhk3j";
|
2009-03-03 13:27:40 +00:00
|
|
|
};
|
2007-08-09 17:33:18 +00:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
buildInputs = [SDL freetype];
|
2007-08-09 17:33:18 +00:00
|
|
|
|
2009-03-03 13:27:40 +00:00
|
|
|
postInstall = "ln -s $out/include/SDL/SDL_ttf.h $out/include/";
|
2007-08-09 17:33:18 +00:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "SDL TrueType library";
|
2007-08-09 17:33:18 +00:00
|
|
|
};
|
|
|
|
}
|