Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
893 B
Nix
47 lines
893 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
installShellFiles,
|
|
pkg-config,
|
|
libdatrie,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libthai";
|
|
version = "0.1.29";
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/tlwg/libthai/releases/download/v${version}/libthai-${version}.tar.xz";
|
|
sha256 = "sha256-/IDMfctQ4RMCtBfOvSTy0wqLmHKS534AMme5EA0PS80=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
installShellFiles
|
|
(lib.getBin libdatrie)
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [ libdatrie ];
|
|
|
|
postInstall = ''
|
|
installManPage man/man3/*.3
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://linux.thai.net/projects/libthai/";
|
|
description = "Set of Thai language support routines";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ crertel ];
|
|
pkgConfigModules = [ "libthai" ];
|
|
};
|
|
}
|