From 40fede29e34ad200880b8d6f19198e46a4b2d1a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Mon, 22 Aug 2022 21:31:17 +0200 Subject: [PATCH 1/2] ibus: 1.5.26 -> 1.5.27 https://github.com/ibus/ibus/releases/tag/1.5.27 --- pkgs/tools/inputmethods/ibus/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/inputmethods/ibus/default.nix b/pkgs/tools/inputmethods/ibus/default.nix index c25340e38350..c73598fd6ca1 100644 --- a/pkgs/tools/inputmethods/ibus/default.nix +++ b/pkgs/tools/inputmethods/ibus/default.nix @@ -1,7 +1,5 @@ { lib, stdenv , substituteAll -, fetchurl -, fetchpatch , fetchFromGitHub , autoreconfHook , gettext @@ -60,22 +58,16 @@ in stdenv.mkDerivation rec { pname = "ibus"; - version = "1.5.26"; + version = "1.5.27"; src = fetchFromGitHub { owner = "ibus"; repo = "ibus"; rev = version; - sha256 = "7Vuj4Gyd+dLUoCkR4SPkfGPwVQPRo2pHk0pRAsmtjxc="; + sha256 = "sha256-DwX7SYRb18C0Lz2ySPS3yV99Q1xQezs0Ls2P7Rbtk5Q="; }; patches = [ - # Fixes systemd unit installation path https://github.com/ibus/ibus/pull/2388 - (fetchpatch { - url = "https://github.com/ibus/ibus/commit/33b4b3932bfea476a841f8df99e20049b83f4b0e.patch"; - sha256 = "kh8SBR+cqsov/B0A2YXLJVq1F171qoSRUKbBPHjPRHI="; - }) - (substituteAll { src = ./fix-paths.patch; pythonInterpreter = python3Runtime.interpreter; From 3a2f99340c13a811675e420ed963ab62e1c0c105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Sat, 3 Sep 2022 15:53:53 +0200 Subject: [PATCH 2/2] ibus: fix installed tests --- nixos/tests/installed-tests/ibus.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/installed-tests/ibus.nix b/nixos/tests/installed-tests/ibus.nix index a4bc2a7d7de0..028c20c29f2d 100644 --- a/nixos/tests/installed-tests/ibus.nix +++ b/nixos/tests/installed-tests/ibus.nix @@ -4,6 +4,7 @@ makeInstalledTest { tested = pkgs.ibus; testConfig = { + i18n.supportedLocales = [ "all" ]; i18n.inputMethod.enabled = "ibus"; systemd.user.services.ibus-daemon = { serviceConfig.ExecStart = "${pkgs.ibus}/bin/ibus-daemon --xim --verbose";