mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
SDL2_ttf: add version 2.0.12
This commit is contained in:
parent
2069156d5c
commit
2bc4f5c149
18
pkgs/development/libraries/SDL2_ttf/default.nix
Normal file
18
pkgs/development/libraries/SDL2_ttf/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl, SDL2, freetype }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "SDL2_ttf-2.0.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.libsdl.org/projects/SDL_ttf/release/${name}.tar.gz";
|
||||
sha256 = "0vkg6lyj278mdpd52map3rfi65fbq16w67ahmmfcl77a8da60a47";
|
||||
};
|
||||
|
||||
buildInputs = [SDL2 freetype];
|
||||
|
||||
postInstall = "ln -s $out/include/SDL2/SDL_ttf.h $out/include/";
|
||||
|
||||
meta = {
|
||||
description = "SDL TrueType library";
|
||||
};
|
||||
}
|
@ -7286,6 +7286,8 @@ let
|
||||
|
||||
SDL2_gfx = callPackage ../development/libraries/SDL2_gfx { };
|
||||
|
||||
SDL2_ttf = callPackage ../development/libraries/SDL2_ttf { };
|
||||
|
||||
serd = callPackage ../development/libraries/serd {};
|
||||
|
||||
serf = callPackage ../development/libraries/serf {};
|
||||
|
Loading…
Reference in New Issue
Block a user