about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPoscat <poscat@mail.poscat.moe>2020-12-14 08:01:03 +0800
committerPoscat <poscat@mail.poscat.moe>2021-01-10 14:31:09 +0800
commit7b99329edda843f669f46f6524272b89147991b2 (patch)
treeb9707c04aafd55e07c15659701cbd83205cf14cf
parent14227a94b2a4b83151aae803adae6766af9f2b3f (diff)
downloadnixlib-7b99329edda843f669f46f6524272b89147991b2.tar
nixlib-7b99329edda843f669f46f6524272b89147991b2.tar.gz
nixlib-7b99329edda843f669f46f6524272b89147991b2.tar.bz2
nixlib-7b99329edda843f669f46f6524272b89147991b2.tar.lz
nixlib-7b99329edda843f669f46f6524272b89147991b2.tar.xz
nixlib-7b99329edda843f669f46f6524272b89147991b2.tar.zst
nixlib-7b99329edda843f669f46f6524272b89147991b2.zip
fcitx5-table-extra: Init at 5.0.1
-rw-r--r--pkgs/tools/inputmethods/fcitx5/fcitx5-table-extra.nix38
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-table-extra.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-table-extra.nix
new file mode 100644
index 000000000000..7dcca7e130d0
--- /dev/null
+++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-table-extra.nix
@@ -0,0 +1,38 @@
+{ stdenv
+, fetchFromGitHub
+, cmake
+, extra-cmake-modules
+, gettext
+, libime
+, boost
+, fcitx5
+}:
+
+stdenv.mkDerivation rec {
+  pname = "fcitx5-table-extra";
+  version = "5.0.1";
+
+  src = fetchFromGitHub {
+    owner = "fcitx";
+    repo = "fcitx5-table-extra";
+    rev = version;
+    sha256 = "UHhiWm2Khh6JBB9jz0ZKFofkAJPlqn6SqHeK9etoaxs=";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+    gettext
+    libime
+    boost
+    fcitx5
+  ];
+
+  meta = with stdenv.lib; {
+    description = "Extra table for Fcitx, including Boshiamy, Zhengma, Cangjie, and Quick";
+    homepage = "https://github.com/fcitx/fcitx5-table-extra";
+    license = licenses.gpl2Only;
+    maintainers = with maintainers; [ poscat ];
+    platforms = platforms.linux;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 1f9a3561f898..b875484299db 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3946,6 +3946,8 @@ in
 
   fcitx5-rime = callPackage ../tools/inputmethods/fcitx5/fcitx5-rime.nix { };
 
+  fcitx5-table-extra = callPackage ../tools/inputmethods/fcitx5/fcitx5-table-extra.nix { };
+
   fcppt = callPackage ../development/libraries/fcppt { };
 
   fcrackzip = callPackage ../tools/security/fcrackzip { };