{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, kdePackages, fcitx5, lua, gettext, }: stdenv.mkDerivation rec { pname = "fcitx5-lua"; version = "5.0.16"; src = fetchFromGitHub { owner = "fcitx"; repo = pname; rev = version; hash = "sha256-df0BjORGT+zx/8kg/nGPDa9MBAXpPtdfx8S5O+E31wE="; }; nativeBuildInputs = [ cmake pkg-config kdePackages.extra-cmake-modules gettext ]; buildInputs = [ fcitx5 lua ]; passthru = { extraLdLibraries = [ lua ]; }; meta = { description = "Lua support for Fcitx 5"; homepage = "https://github.com/fcitx/fcitx5-lua"; license = lib.licenses.lgpl21Plus; maintainers = with lib.maintainers; [ poscat ]; platforms = lib.platforms.linux; }; }