2021-01-11 10:54:33 +03:00
|
|
|
{ lib, stdenv, fetchurl, cmake, fcitx, gettext }:
|
2015-11-25 09:40:39 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "fcitx-table-other";
|
2018-02-22 13:30:40 +03:00
|
|
|
version = "0.2.4";
|
2015-11-25 09:40:39 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 15:41:18 +03:00
|
|
|
url = "http://download.fcitx-im.org/fcitx-table-other/${pname}-${version}.tar.xz";
|
2018-02-22 13:30:40 +03:00
|
|
|
sha256 = "1di60lr6l5k2sdwi3yrc0hl89j2k0yipayrsn803vd040w1fgfhq";
|
2015-11-25 09:40:39 +03:00
|
|
|
};
|
|
|
|
|
2020-12-31 10:48:55 +03:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ fcitx gettext ];
|
2015-11-25 09:40:39 +03:00
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
substituteInPlace tables/cmake_install.cmake \
|
|
|
|
--replace ${fcitx} $out
|
|
|
|
'';
|
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2015-11-25 10:29:50 +03: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 09:40:39 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|