libthai: init at 0.1.28

This commit is contained in:
Sandro Jäckel 2020-10-29 18:06:48 +01:00
parent 6b72fd5c3b
commit e0e37f4261
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, makeWrapper, installShellFiles, pkg-config, libdatrie }:
stdenv.mkDerivation rec {
pname = "libthai";
version = "0.1.28";
src = fetchurl {
url = "https://github.com/tlwg/libthai/releases/download/v${version}/libthai-${version}.tar.xz";
sha256 = "04g93bgxrcnay9fglpq2lj9nr7x1xh06i60m7haip8as9dxs3q7z";
};
nativeBuildInputs = [ installShellFiles pkg-config ];
buildInputs = [ libdatrie ];
postInstall = ''
installManPage man/man3/*.3
'';
meta = with stdenv.lib; {
homepage = "https://linux.thai.net/projects/libthai/";
description = "Set of Thai language support routines";
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -14218,6 +14218,8 @@ in
libtcod = callPackage ../development/libraries/libtcod { };
libthai = callPackage ../development/libraries/libthai { };
libtheora = callPackage ../development/libraries/libtheora { };
libthreadar = callPackage ../development/libraries/libthreadar { };