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