2022-02-03 09:40:59 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, fcitx5
|
|
|
|
, fcitx5-qt
|
|
|
|
, gettext
|
|
|
|
, wrapQtAppsHook
|
2022-01-24 23:23:11 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcitx5-unikey";
|
2022-11-20 13:07:18 +01:00
|
|
|
version = "5.0.12";
|
2022-01-24 23:23:11 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
|
|
|
repo = "fcitx5-unikey";
|
|
|
|
rev = version;
|
2022-11-20 13:07:18 +01:00
|
|
|
sha256 = "sha256-LaCDDwM5idq4JEs5F0ysMZfWIEaRqMBNgIyNf9DhmhY=";
|
2022-01-24 23:23:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
|
|
|
|
|
2022-02-03 09:40:59 +01:00
|
|
|
buildInputs = [ fcitx5 fcitx5-qt gettext ];
|
2022-01-24 23:23:11 +01: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;
|
|
|
|
};
|
|
|
|
}
|