2013-01-28 03:35:03 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, cmake, intltool, gettext
|
|
|
|
, libxml2, enchant, isocodes, icu, libpthreadstubs
|
2013-09-28 12:44:52 +01:00
|
|
|
, pango, cairo, libxkbfile, libXau, libXdmcp
|
2013-01-28 03:35:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-09-28 12:44:52 +01:00
|
|
|
name = "fcitx-4.2.8.3";
|
2013-01-28 03:35:03 +00:00
|
|
|
src = fetchurl {
|
2013-09-28 12:44:52 +01:00
|
|
|
url = "http://download.fcitx-im.org/fcitx/${name}_dict.tar.xz";
|
|
|
|
sha256 = "05dw6cbjh2jyjrkr4qx2bcq6nyhhrs0akf6fcjk5a72bgphhwqnb";
|
2013-01-28 03:35:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmake enchant pango gettext libxml2 isocodes pkgconfig libxkbfile
|
2013-09-28 12:44:52 +01:00
|
|
|
intltool cairo icu libpthreadstubs libXau libXdmcp
|
2013-01-28 03:35:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = ''
|
|
|
|
-DENABLE_DBUS=OFF
|
|
|
|
-DENABLE_QT=OFF
|
|
|
|
-DENABLE_QT_IM_MODULE=OFF
|
|
|
|
-DENABLE_OPENCC=OFF
|
|
|
|
-DENABLE_PRESAGE=OFF
|
|
|
|
-DENABLE_XDGAUTOSTART=OFF
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://code.google.com/p/fcitx/";
|
|
|
|
description = "A Flexible Input Method Framework";
|
|
|
|
license = "GPLv2";
|
2013-09-28 12:44:52 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [iyzsong];
|
2013-01-28 03:35:03 +00:00
|
|
|
};
|
|
|
|
}
|