diff --git a/pkgs/tools/inputmethods/fcitx5/default.nix b/pkgs/tools/inputmethods/fcitx5/default.nix index a4c5c6451228..8dd13bbd1674 100644 --- a/pkgs/tools/inputmethods/fcitx5/default.nix +++ b/pkgs/tools/inputmethods/fcitx5/default.nix @@ -31,6 +31,7 @@ , xcbutilwm , xcb-imdkit , libxkbfile +, nixosTests }: let enDictVer = "20121020"; @@ -89,7 +90,12 @@ stdenv.mkDerivation rec { libxkbfile ]; - passthru.updateScript = ./update.py; + passthru = { + updateScript = ./update.py; + tests = { + inherit (nixosTests) fcitx5; + }; + }; meta = with lib; { description = "Next generation of fcitx"; diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-hangul.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-hangul.nix index bf97cab6ef14..18facb5fb31a 100644 --- a/pkgs/tools/inputmethods/fcitx5/fcitx5-hangul.nix +++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-hangul.nix @@ -6,6 +6,7 @@ , gettext , fcitx5 , libhangul +, nixosTests }: stdenv.mkDerivation rec { @@ -30,6 +31,10 @@ stdenv.mkDerivation rec { libhangul ]; + passthru.tests = { + inherit (nixosTests) fcitx5; + }; + meta = with lib; { description = "Hangul wrapper for Fcitx5"; homepage = "https://github.com/fcitx/fcitx5-hangul"; diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-m17n.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-m17n.nix index 1a383a369c14..3c4bd06cb96f 100644 --- a/pkgs/tools/inputmethods/fcitx5/fcitx5-m17n.nix +++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-m17n.nix @@ -9,6 +9,7 @@ , m17n_db , gettext , fmt +, nixosTests }: stdenv.mkDerivation rec { @@ -36,6 +37,10 @@ stdenv.mkDerivation rec { fmt ]; + passthru.tests = { + inherit (nixosTests) fcitx5; + }; + meta = with lib; { description = "m17n support for Fcitx5"; homepage = "https://github.com/fcitx/fcitx5-m17n"; diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix index 92a0474ef199..dce5bd48592c 100644 --- a/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix +++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix @@ -1,6 +1,6 @@ { lib, clangStdenv, fetchFromGitHub, fetchurl, fetchpatch, fetchgit , python3Packages, ninja, pkg-config, protobuf, zinnia, qt5, fcitx5 -, jsoncpp, gtest, which, gtk2, unzip, abseil-cpp, breakpad }: +, jsoncpp, gtest, which, gtk2, unzip, abseil-cpp, breakpad, nixosTests }: let inherit (python3Packages) python gyp six; utdic = fetchurl { @@ -115,6 +115,10 @@ in clangStdenv.mkDerivation rec { wrapQtApp $out/lib/mozc/mozc_tool ''; + passthru.tests = { + inherit (nixosTests) fcitx5; + }; + meta = with lib; { description = "Fcitx5 Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)"; homepage = "https://github.com/fcitx/mozc";