summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorPoscat <poscat@mail.poscat.moe>2020-12-13 11:23:55 +0800
committerPoscat <poscat@mail.poscat.moe>2021-01-10 14:31:05 +0800
commit208b419ab518cf9fe78ed4817c66edbbff47edcd (patch)
treee017bdd2f08d443f62a25390b682ca405ac6a13a /pkgs/tools/inputmethods
parentea1e46a232ccc7b2ebe1d90417cc6939119dfe55 (diff)
fcitx5-lua: Init at 5.0.1
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/fcitx5/fcitx5-lua.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-lua.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-lua.nix
new file mode 100644
index 000000000000..310cae035ba7
--- /dev/null
+++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-lua.nix
@@ -0,0 +1,40 @@
+{ stdenv
+, fetchFromGitHub
+, cmake
+, extra-cmake-modules
+, fcitx5
+, lua5_3
+, luaPackage ? lua5_3
+, gettext
+}:
+
+stdenv.mkDerivation rec {
+ pname = "fcitx5-lua";
+ version = "5.0.1";
+
+ src = fetchFromGitHub {
+ owner = "fcitx";
+ repo = "fcitx5-lua";
+ rev = "${version}";
+ sha256 = "OiTk9ldqBqF7WT1KY71hacLD6OQQNO05F7+cSXlli40=";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ extra-cmake-modules
+ ];
+
+ buildInputs = [
+ fcitx5
+ luaPackage
+ gettext
+ ];
+
+ meta = with stdenv.lib; {
+ description = "Lua support for Fcitx 5";
+ homepage = "https://github.com/fcitx/fcitx5-lua";
+ license = licenses.lgpl21Plus;
+ maintainers = with maintainers; [ poscat ];
+ platforms = platforms.linux;
+ };
+}