diff --git a/nixos/modules/programs/ibus.nix b/nixos/modules/programs/ibus.nix index ee3a734db71f..b8702a743d8a 100644 --- a/nixos/modules/programs/ibus.nix +++ b/nixos/modules/programs/ibus.nix @@ -30,7 +30,7 @@ in environment.systemPackages = [ pkgs.ibus ]; gtkPlugins = [ pkgs.ibus ]; - qtPlugins = [ pkgs.ibus ]; + qtPlugins = [ pkgs.ibus-qt ]; environment.variables = let diff --git a/pkgs/development/libraries/ibus-qt/default.nix b/pkgs/development/libraries/ibus-qt/default.nix new file mode 100644 index 000000000000..c538d36ec591 --- /dev/null +++ b/pkgs/development/libraries/ibus-qt/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, ibus, cmake, pkgconfig, qt4, icu, doxygen }: + +stdenv.mkDerivation rec { + name = "ibus-qt-${version}"; + version = "1.3.2"; + + src = fetchurl { + url = "http://ibus.googlecode.com/files/${name}-Source.tar.gz"; + sha256 = "070c8ef4e6c74eddf7ddf4385936aed730c2dfe2160162e5c56b5158d1061a76"; + }; + + buildInputs = [ + ibus cmake pkgconfig qt4 icu doxygen + ]; + + cmakeFlags = [ "-DQT_PLUGINS_DIR=lib/qt4/plugins" ]; + + meta = with stdenv.lib; { + homepage = https://code.google.com/p/ibus/; + description = "Qt4 interface to the ibus input method"; + platforms = platforms.linux; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ gebner ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c83750669207..a897298ee295 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4972,6 +4972,8 @@ let ibus = callPackage ../development/libraries/ibus { }; + ibus-qt = callPackage ../development/libraries/ibus-qt { }; + icmake = callPackage ../development/tools/build-managers/icmake { }; iconnamingutils = callPackage ../development/tools/misc/icon-naming-utils {