2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv
|
2020-12-14 00:01:03 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, gettext
|
|
|
|
, libime
|
|
|
|
, boost
|
|
|
|
, fcitx5
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcitx5-table-extra";
|
2021-06-02 12:44:35 +00:00
|
|
|
version = "5.0.4";
|
2020-12-14 00:01:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
2021-06-02 12:44:35 +00:00
|
|
|
repo = pname;
|
2020-12-14 00:01:03 +00:00
|
|
|
rev = version;
|
2021-06-02 12:44:35 +00:00
|
|
|
sha256 = "1rhm9jyqxlsgjsn3f5n9jwm5qjcgg87widp0bv1xa9cc23mydrqv";
|
2020-12-14 00:01:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
gettext
|
|
|
|
libime
|
|
|
|
boost
|
|
|
|
fcitx5
|
|
|
|
];
|
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
meta = with lib; {
|
2020-12-14 00:01:03 +00:00
|
|
|
description = "Extra table for Fcitx, including Boshiamy, Zhengma, Cangjie, and Quick";
|
|
|
|
homepage = "https://github.com/fcitx/fcitx5-table-extra";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ poscat ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|