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