37 lines
693 B
Nix
37 lines
693 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
ibus,
|
|
gtk3,
|
|
libthai,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ibus-libthai";
|
|
version = "0.1.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://linux.thai.net/pub/ThaiLinux/software/libthai/ibus-libthai-${version}.tar.xz";
|
|
sha256 = "sha256-fhCs2tBftyH8PljcwGDIZPTIwWvWPA7EapUaWU1sBuM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
ibus
|
|
libthai
|
|
];
|
|
|
|
meta = {
|
|
isIbusEngine = true;
|
|
homepage = "https://linux.thai.net/projects/ibus-libthai";
|
|
description = "Thai input method engine for IBus";
|
|
license = lib.licenses.lgpl21Plus;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ ];
|
|
};
|
|
}
|