SDL2_Pango: init at 2.1.5
This commit is contained in:
parent
1186c9bdc4
commit
225b3bf66e
1 changed files with 48 additions and 0 deletions
48
pkgs/by-name/sd/SDL2_Pango/package.nix
Normal file
48
pkgs/by-name/sd/SDL2_Pango/package.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue