nixpkgs/pkgs/development/libraries/SDL_ttf/default.nix
Eelco Dolstra 6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00

19 lines
420 B
Nix

{ stdenv, fetchurl, SDL, freetype }:
stdenv.mkDerivation {
name = "SDL_ttf-2.0.9";
src = fetchurl {
url = http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.9.tar.gz;
sha256 = "0ls6anmlmwrmy21p3y9nfyl6fkwz4jpgh74kw7xd0hwbg5v8h95l";
};
buildInputs = [SDL freetype];
postInstall = "ln -s $out/include/SDL/SDL_ttf.h $out/include/";
meta = {
description = "SDL TrueType library";
};
}