a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
30 lines
867 B
Nix
30 lines
867 B
Nix
{ lib, stdenv, fetchurl, cmake, fcitx, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx-table-other";
|
|
version = "0.2.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.fcitx-im.org/fcitx-table-other/${pname}-${version}.tar.xz";
|
|
sha256 = "1di60lr6l5k2sdwi3yrc0hl89j2k0yipayrsn803vd040w1fgfhq";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ fcitx gettext ];
|
|
|
|
preInstall = ''
|
|
substituteInPlace tables/cmake_install.cmake \
|
|
--replace ${fcitx} $out
|
|
'';
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
|
|
}
|