@@ -1,17 +1,18 @@
11{ stdenv, fetchurl, makeWrapper
22, intltool, isocodes, pkgconfig
33, python3, pygobject3
4−, gtk2, gtk3, atk, dconf, glib
4+, gtk2, gtk3, atk, dconf, glib, json_glib
55, dbus, libnotify, gobjectIntrospection, wayland
6+, nodePackages
67}:
78
89stdenv.mkDerivation rec {
910 name = "ibus-${version}";
10− version = "1.5.13";
11+ version = "1.5.14";
1112
1213 src = fetchurl {
1314 url = "https://github.com/ibus/ibus/releases/download/${version}/${name}.tar.gz";
14− sha256 = "1wd5azlsgdih8qw6gi15rv130s6d90846n3r1ccwmp6z882xhwzd";
15+ sha256 = "0g4x02d7j5w1lfn4zvmzsq93h17lajgn9d7hlvr6pws28vz40ax4";
1516 };
1617
1718 postPatch = ''
@@ -29,12 +30,14 @@ stdenv.mkDerivation rec {
2930 "--disable-memconf"
3031 "--enable-ui"
3132 "--enable-python-library"
33+ "--with-emoji-json-file=${nodePackages.emojione}/lib/node_modules/emojione/emoji.json"
3234 ];
3335
3436 buildInputs = [
3537 python3 pygobject3
3638 intltool isocodes pkgconfig
3739 gtk2 gtk3 dconf
40+ json_glib
3841 dbus libnotify gobjectIntrospection wayland
3942 ];
4043
@@ -64,6 +67,9 @@ stdenv.mkDerivation rec {
6467 done
6568 '';
6669
70+ doInstallCheck = true;
71+ installCheckPhase = "$out/bin/ibus version";
72+
6773 meta = with stdenv.lib; {
6874 homepage = https://github.com/ibus/ibus;
6975 description = "Intelligent Input Bus for Linux / Unix OS";