1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/pkgs/development/libraries/SDL_ttf/default.nix

19 lines
422 B
Nix
Raw Normal View History

{ stdenv, fetchurl, SDL, freetype }:
stdenv.mkDerivation {
2014-03-14 09:35:37 +00:00
name = "SDL_ttf-2.0.11";
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";
};
buildInputs = [SDL freetype];
postInstall = "ln -s $out/include/SDL/SDL_ttf.h $out/include/";
meta = {
description = "SDL TrueType library";
};
}