2022-02-10 20:34:41 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, fcitx5
|
|
|
|
, fcitx5-qt
|
|
|
|
, gettext
|
|
|
|
, wrapQtAppsHook
|
2022-01-25 03:21:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcitx5-unikey";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "5.1.1";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
|
|
|
repo = "fcitx5-unikey";
|
|
|
|
rev = version;
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-9t8YYYGTiY+HteoRI1m833ITcbYb/KpHczyUd8lllc8=";
|
2022-01-25 03:21:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
buildInputs = [ fcitx5 fcitx5-qt gettext ];
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|