1 { lib, stdenv, fetchurl, cmake, fcitx, gettext }:
3 stdenv.mkDerivation rec {
4 pname = "fcitx-table-extra";
8 url = "http://download.fcitx-im.org/fcitx-table-extra/${pname}-${version}.tar.xz";
9 sha256 = "c91bb19c1a7b53c5339bf2f75ae83839020d337990f237a8b9bc0f4416c120ef";
12 nativeBuildInputs = [ cmake ];
13 buildInputs = [ fcitx gettext ];
16 substituteInPlace tables/cmake_install.cmake \
17 --replace ${fcitx} $out
22 homepage = "https://github.com/fcitx/fcitx-table-extra";
23 downloadPage = "http://download.fcitx-im.org/fcitx-table-extra/";
24 description = "Provides extra table for Fcitx, including Boshiamy, Zhengma, Cangjie, and Quick";
25 license = licenses.gpl2Plus;
26 platforms = platforms.linux;
27 maintainers = with maintainers; [ linc01n ];