3
0
Fork 0
forked from mirrors/nixpkgs

SDL2_Pango: init at 2.1.5

This commit is contained in:
Ricardo Ardissone 2023-08-08 14:25:29 -03:00 committed by Weijia Wang
parent 1186c9bdc4
commit 225b3bf66e

View file

@ -0,0 +1,48 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, freetype
, pango
, SDL2
, darwin
}:
stdenv.mkDerivation rec {
pname = "sdl2-pango";
version = "2.1.5";
src = fetchFromGitHub {
owner = "markuskimius";
repo = "SDL2_Pango";
rev = "v${version}";
hash = "sha256-8SL5ylxi87TuKreC8m2kxlLr8rcmwYYvwkp4vQZ9dkc=";
};
outputs = [ "out" "dev" ];
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
pkg-config
SDL2
];
buildInputs = [
freetype
pango
SDL2
] ++ lib.optionals stdenv.isDarwin [
darwin.libobjc
];
meta = with lib; {
description = "A library for graphically rendering internationalized and tagged text in SDL2 using TrueType fonts";
homepage = "https://github.com/markuskimius/SDL2_Pango";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ rardiol ];
platforms = platforms.all;
};
}