about summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/fcitx-engines
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2015-11-25 15:25:29 +0900
committerEric Sagnes <eric.sagnes@gmail.com>2016-02-17 20:44:29 +0900
commit81aab64b7f6c07ae463d4b71f0e495388773f6cf (patch)
treedfa79afa64b008c1bf7dfa178fc9b73c5558156a /pkgs/tools/inputmethods/fcitx-engines
parent078e85e0e573e50fb840bc294e1c76bf9f38215b (diff)
downloadnixlib-81aab64b7f6c07ae463d4b71f0e495388773f6cf.tar
nixlib-81aab64b7f6c07ae463d4b71f0e495388773f6cf.tar.gz
nixlib-81aab64b7f6c07ae463d4b71f0e495388773f6cf.tar.bz2
nixlib-81aab64b7f6c07ae463d4b71f0e495388773f6cf.tar.lz
nixlib-81aab64b7f6c07ae463d4b71f0e495388773f6cf.tar.xz
nixlib-81aab64b7f6c07ae463d4b71f0e495388773f6cf.tar.zst
nixlib-81aab64b7f6c07ae463d4b71f0e495388773f6cf.zip
fcitx: group engines
Diffstat (limited to 'pkgs/tools/inputmethods/fcitx-engines')
-rw-r--r--pkgs/tools/inputmethods/fcitx-engines/fcitx-anthy/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx-engines/fcitx-anthy/default.nix b/pkgs/tools/inputmethods/fcitx-engines/fcitx-anthy/default.nix
new file mode 100644
index 000000000000..2099220f2a1f
--- /dev/null
+++ b/pkgs/tools/inputmethods/fcitx-engines/fcitx-anthy/default.nix
@@ -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
+  '';
+}