39 lines
742 B
Nix
39 lines
742 B
Nix
|
{ lib, stdenv
|
||
|
, fetchFromGitHub
|
||
|
, cmake
|
||
|
, extra-cmake-modules
|
||
|
, gettext
|
||
|
, libime
|
||
|
, boost
|
||
|
, fcitx5
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "fcitx5-table-extra";
|
||
|
version = "5.1.6";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "fcitx";
|
||
|
repo = pname;
|
||
|
rev = version;
|
||
|
hash = "sha256-no8TDbK88SnuLAz72QK2q2XM5bLdkGd8lkWFwreajO8=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
cmake
|
||
|
extra-cmake-modules
|
||
|
gettext
|
||
|
libime
|
||
|
boost
|
||
|
fcitx5
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
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;
|
||
|
};
|
||
|
}
|