13 majorVersion = lib.versions.major qtbase.version;
15 stdenv.mkDerivation rec {
16 pname = "fcitx5-qt${majorVersion}";
19 src = fetchFromGitHub {
23 hash = "sha256-up4EC4GLzDjd9QJzeV2b2uVZNxYa268D/FotCyy1sos=";
27 substituteInPlace qt${majorVersion}/platforminputcontext/CMakeLists.txt \
28 --replace \$"{CMAKE_INSTALL_QT${majorVersion}PLUGINDIR}" $out/${qtbase.qtPluginPrefix}
35 "-DENABLE_QT${majorVersion}=ON"
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;