add fcitx-anthy

This commit is contained in:
宋文武 2014-08-27 17:05:14 +08:00
parent 6f6724027d
commit 92f728d546
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, cmake, fcitx, anthy }:
stdenv.mkDerivation rec {
name = "fcitx-anthy-0.2.1";
meta = with stdenv.lib; {
description = "Fcitx Wrapper for anthy";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ iyzsong ];
};
src = fetchurl {
url = "http://download.fcitx-im.org/fcitx-anthy/${name}.tar.xz";
sha256 = "13fpfhhxkzbq53h10i3hifa37nngm47jq361i70z22bgcrs8887x";
};
buildInputs = [ cmake fcitx anthy ];
preInstall = ''
substituteInPlace src/cmake_install.cmake \
--replace ${fcitx} $out
'';
}

View File

@ -1021,6 +1021,8 @@ let
fcitx = callPackage ../tools/inputmethods/fcitx { };
fcitx-anthy = callPackage ../tools/inputmethods/fcitx/fcitx-anthy.nix { };
fcron = callPackage ../tools/system/fcron { };
fdm = callPackage ../tools/networking/fdm {};