3cbfd2b52c
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
38 lines
744 B
Nix
38 lines
744 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, gettext
|
|
, libime
|
|
, boost
|
|
, fcitx5
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx5-table-extra";
|
|
version = "5.0.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-K+MeFfst+vxgaHkYgLzfj7wqHYP6dIbh5ZOYHaV0cXo=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|