summary refs log tree commit diff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2015-11-25 15:40:39 +0900
committerEric Sagnes <eric.sagnes@gmail.com>2016-02-17 20:44:29 +0900
commiteb31d296e6d4003eebf6aa5548c34c524eba3bcf (patch)
tree6830de372a317ea3f681571595e6582f4c455f12 /pkgs/tools/inputmethods
parent1e5cd17f12a520e7f670d206a910e27f50a948d2 (diff)
downloadnixlib-eb31d296e6d4003eebf6aa5548c34c524eba3bcf.tar
nixlib-eb31d296e6d4003eebf6aa5548c34c524eba3bcf.tar.gz
nixlib-eb31d296e6d4003eebf6aa5548c34c524eba3bcf.tar.bz2
nixlib-eb31d296e6d4003eebf6aa5548c34c524eba3bcf.tar.lz
nixlib-eb31d296e6d4003eebf6aa5548c34c524eba3bcf.tar.xz
nixlib-eb31d296e6d4003eebf6aa5548c34c524eba3bcf.tar.zst
nixlib-eb31d296e6d4003eebf6aa5548c34c524eba3bcf.zip
fcitx-table-other: init at 0.2.3
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/fcitx-engines/fcitx-table-other/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx-engines/fcitx-table-other/default.nix b/pkgs/tools/inputmethods/fcitx-engines/fcitx-table-other/default.nix
new file mode 100644
index 000000000000..d5e74f6ba068
--- /dev/null
+++ b/pkgs/tools/inputmethods/fcitx-engines/fcitx-table-other/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl, cmake, fcitx, gettext }:
+
+stdenv.mkDerivation rec {
+  name = "fcitx-table-other-${version}";
+  version = "0.2.3";
+
+  src = fetchurl {
+    url = "http://download.fcitx-im.org/fcitx-table-other/${name}.tar.xz";
+    sha256 = "12fqbsjrpx5pndx2jf7fksrlp01a4yxz62h2vpxrbkpk73ljly4v";
+  };
+
+  buildInputs = [ cmake fcitx gettext ];
+
+  preInstall = ''
+   substituteInPlace tables/cmake_install.cmake \
+      --replace ${fcitx} $out
+  '';
+
+  meta = with stdenv.lib; {
+    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 ];
+  };
+
+}