{ lib , stdenv , fetchFromGitHub , cmake , extra-cmake-modules , fcitx5 , fcitx5-qt , gettext , wrapQtAppsHook }: stdenv.mkDerivation rec { pname = "fcitx5-unikey"; version = "5.1.0"; src = fetchFromGitHub { owner = "fcitx"; repo = "fcitx5-unikey"; rev = version; sha256 = "sha256-X00/jGtbApWtS9+S6lTXJ0+BK7SUsLA1sKxq0vW1VNE="; }; nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ]; buildInputs = [ fcitx5 fcitx5-qt gettext ]; meta = with lib; { description = "Unikey engine support for Fcitx5"; homepage = "https://github.com/fcitx/fcitx5-unikey"; license = licenses.gpl2Plus; maintainers = with maintainers; [ berberman ]; platforms = platforms.linux; }; }