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