diff options
author | Antonio Yang <yanganto@gmail.com> | 2020-10-09 23:32:58 +0800 |
---|---|---|
committer | Antonio Yang <yanganto@gmail.com> | 2020-10-17 10:48:31 +0800 |
commit | 52b903b3c4bbdba141f0402774ab0f69f29dbfee (patch) | |
tree | 9369025fd0003c3b8dc27e8dbdf0dc3ee3fbc5ff /pkgs/tools/inputmethods | |
parent | d81e10c73584b0092d7fc021c691fdac2fd58db1 (diff) |
hime: fix enable hime, remove hime-all package
- fix inputMethod.enable hime by adding module list
- rm hime-all package, because chewing, anthy modules does not work well
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r-- | pkgs/tools/inputmethods/hime/default.nix | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/pkgs/tools/inputmethods/hime/default.nix b/pkgs/tools/inputmethods/hime/default.nix index cce1ec495150..4d2b44456ae7 100644 --- a/pkgs/tools/inputmethods/hime/default.nix +++ b/pkgs/tools/inputmethods/hime/default.nix @@ -1,9 +1,10 @@ { stdenv, fetchFromGitHub, pkgconfig, which, gtk2, gtk3, qt4, qt5, libXtst, lib, -enableChewing ? true, libchewing, -enableAnthy ? true, anthy, }: +# chewing and anthy do not work well +# so we do not enable these input method at this moment + stdenv.mkDerivation { name = "hime"; version = "unstable-2020-06-27"; @@ -16,25 +17,18 @@ stdenv.mkDerivation { }; nativeBuildInputs = [ which pkgconfig ]; - buildInputs = [ libXtst gtk2 gtk3 qt4 qt5.qtbase ] - ++ lib.optional enableChewing libchewing - ++ lib.optional enableAnthy anthy; - - patchPhase = '' - patchShebangs configure - ''; + buildInputs = [ libXtst gtk2 gtk3 qt4 qt5.qtbase ]; - # The configure script already auto-detect libchewing and anthy, - # so we do not need additional flags for libchewing or anthy + preConfigure = "patchShebangs configure"; configureFlags = [ "--disable-lib64" "--disable-qt5-immodule" ]; meta = with stdenv.lib; { - homepage = "http://hime-ime.github.io/"; - downloadPage = "https://github.com/hime-ime/hime/downloads"; - description = "A useful input method engine for Asia region"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ yanganto ]; + homepage = "http://hime-ime.github.io/"; + downloadPage = "https://github.com/hime-ime/hime/downloads"; + description = "A useful input method engine for Asia region"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ yanganto ]; }; } |