16 stdenv.mkDerivation rec {
20 src = fetchFromGitHub {
24 sha256 = "sha256-fCqet+foQjI+LpTQ/6Egup1GzXELlL2hgbh0dCKLwPI=";
27 nativeBuildInputs = [ which pkg-config unixtools.whereis ];
28 buildInputs = [ libXtst gtk2 gtk3 qt4 qt5.qtbase libchewing anthy ];
30 preConfigure = "patchShebangs configure";
31 configureFlags = [ "--disable-lib64" "--disable-qt5-immodule" ];
32 dontWrapQtApps = true;
34 hime_rpath=$(patchelf --print-rpath $out/bin/hime)
35 patchelf --set-rpath $out/lib/hime:$hime_rpath $out/bin/hime
40 homepage = "http://hime-ime.github.io/";
41 downloadPage = "https://github.com/hime-ime/hime/downloads";
42 description = "A useful input method engine for Asia region";
43 license = licenses.gpl2Plus;
44 platforms = platforms.linux;
45 maintainers = with maintainers; [ yanganto ];