2018-02-22 10:30:40 +00:00
|
|
|
{ stdenv, fetchurl, cmake, fcitx, gettext }:
|
2015-11-25 06:40:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "fcitx-table-other-${version}";
|
2018-02-22 10:30:40 +00:00
|
|
|
version = "0.2.4";
|
2015-11-25 06:40:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.fcitx-im.org/fcitx-table-other/${name}.tar.xz";
|
2018-02-22 10:30:40 +00:00
|
|
|
sha256 = "1di60lr6l5k2sdwi3yrc0hl89j2k0yipayrsn803vd040w1fgfhq";
|
2015-11-25 06:40:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake fcitx gettext ];
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
substituteInPlace tables/cmake_install.cmake \
|
|
|
|
--replace ${fcitx} $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-11-25 07:29:50 +00:00
|
|
|
isFcitxEngine = true;
|
|
|
|
homepage = "https://github.com/fcitx/fcitx-table-other";
|
|
|
|
downloadPage = "http://download.fcitx-im.org/fcitx-table-other/";
|
|
|
|
description = "Provides some other tables for Fcitx";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ericsagnes ];
|
2015-11-25 06:40:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|