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-03-15 16:39:30 +00:00
|
|
|
version = "5.0.13";
|
2022-01-25 03:21:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
|
|
|
repo = "fcitx5-unikey";
|
|
|
|
rev = version;
|
2023-03-15 16:39:30 +00:00
|
|
|
sha256 = "sha256-UpCXcgVUGe5/yunLqRNx2H2aLOnD1wJNA8y3q8R4+sY=";
|
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;
|
|
|
|
};
|
|
|
|
}
|