1 { lib, stdenv, fetchurl, makeWrapper, installShellFiles, pkg-config, libdatrie }:
3 stdenv.mkDerivation rec {
7 outputs = [ "out" "dev" ];
10 url = "https://github.com/tlwg/libthai/releases/download/v${version}/libthai-${version}.tar.xz";
11 sha256 = "sha256-/IDMfctQ4RMCtBfOvSTy0wqLmHKS534AMme5EA0PS80=";
16 nativeBuildInputs = [ installShellFiles (lib.getBin libdatrie) pkg-config ];
18 buildInputs = [ libdatrie ];
21 installManPage man/man3/*.3
25 homepage = "https://linux.thai.net/projects/libthai/";
26 description = "Set of Thai language support routines";
27 license = licenses.lgpl21Plus;
28 platforms = platforms.unix;
29 maintainers = with maintainers; [ SuperSandro2000 ];