nixpkgs-suyu/pkgs/tools/inputmethods/fcitx5/fcitx5-table-extra.nix

39 lines
745 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{ lib, stdenv
2020-12-14 01:01:03 +01:00
, fetchFromGitHub
, cmake
, extra-cmake-modules
, gettext
, libime
, boost
, fcitx5
}:
stdenv.mkDerivation rec {
pname = "fcitx5-table-extra";
2021-06-02 14:44:35 +02:00
version = "5.0.4";
2020-12-14 01:01:03 +01:00
src = fetchFromGitHub {
owner = "fcitx";
2021-06-02 14:44:35 +02:00
repo = pname;
2020-12-14 01:01:03 +01:00
rev = version;
2021-06-02 14:44:35 +02:00
sha256 = "1rhm9jyqxlsgjsn3f5n9jwm5qjcgg87widp0bv1xa9cc23mydrqv";
2020-12-14 01:01:03 +01:00
};
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext
libime
boost
fcitx5
];
2021-01-15 10:19:50 +01:00
meta = with lib; {
2020-12-14 01:01:03 +01: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;
};
}