From 6237084acf3f18220f7562248973ce0567f8b2b5 Mon Sep 17 00:00:00 2001 From: linsui Date: Thu, 20 Jan 2022 15:32:58 +0800 Subject: [PATCH] ibus-libpinyin: enable more features --- .../ibus-engines/ibus-libpinyin/default.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-libpinyin/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-libpinyin/default.nix index b5a10a83d860..a81602b3cfee 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-libpinyin/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-libpinyin/default.nix @@ -1,4 +1,5 @@ -{ lib, stdenv +{ lib +, stdenv , fetchFromGitHub , autoreconfHook , gettext @@ -11,6 +12,10 @@ , glib , gtk3 , python3 +, lua +, opencc +, libsoup +, json-glib }: stdenv.mkDerivation rec { @@ -31,6 +36,11 @@ stdenv.mkDerivation rec { wrapGAppsHook ]; + configureFlags = [ + "--enable-cloud-input-mode" + "--enable-opencc" + ]; + buildInputs = [ ibus glib @@ -42,6 +52,10 @@ stdenv.mkDerivation rec { ])) gtk3 db + lua + opencc + libsoup + json-glib ]; meta = with lib; {