18 src = fetchFromGitHub {
22 sha256 = "sha256-yQFYol4rEXmQBJWoc96yWJkJc3RVP6U964tdJdkGelU=";
26 substituteInPlace qt5/platforminputcontext/CMakeLists.txt \
27 --replace \$"{CMAKE_INSTALL_QT5PLUGINDIR}" $out/${qtbase.qtPluginPrefix}
28 substituteInPlace qt6/platforminputcontext/CMakeLists.txt \
29 --replace \$"{CMAKE_INSTALL_QT6PLUGINDIR}" $out/${qt6.qtbase.qtPluginPrefix}
33 # adding qt6 to buildInputs would result in error: detected mismatched Qt dependencies
34 "-DCMAKE_PREFIX_PATH=${qt6.qtbase.dev}"
52 description = "Fcitx5 Qt Library";
53 homepage = "https://github.com/fcitx/fcitx5-qt";
54 license = with licenses; [ lgpl21Plus bsd3 ];
55 maintainers = with maintainers; [ poscat ];
56 platforms = platforms.linux;