summary refs log tree commit diff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorPotato Hatsue <1793913507@qq.com>2022-01-24 17:23:11 -0500
committerGitHub <noreply@github.com>2022-01-24 23:23:11 +0100
commit048d5eeabdce817afcda5580bc92c64a28af2278 (patch)
tree96c1afd9be4ccdb9df7c8d1b4fbdfcdd735dea12 /pkgs/tools/inputmethods
parenta3636bc91b090a362116e8ff8d801cd9fcb7abbd (diff)
downloadnixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar
nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.gz
nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.bz2
nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.lz
nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.xz
nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.zst
nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.zip
fcitx5-unikey: init at 5.0.7 (#154699)
* fcitx5-unikey: init at 5.0.7

Co-authored-by: Ivv <41924494+IvarWithoutBones@users.noreply.github.com>
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix
new file mode 100644
index 00000000000..05b1deeed9f
--- /dev/null
+++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix
@@ -0,0 +1,27 @@
+{ lib, stdenv, fetchFromGitHub, cmake, extra-cmake-modules, fcitx5, fcitx5-qt
+, ninja, gettext, wrapQtAppsHook
+}:
+
+stdenv.mkDerivation rec {
+  pname = "fcitx5-unikey";
+  version = "5.0.7";
+
+  src = fetchFromGitHub {
+    owner = "fcitx";
+    repo = "fcitx5-unikey";
+    rev = version;
+    sha256 = "BFIqMmjIC29Z4rATZEf+qQWrULU9Wkuk6WOUXDEPO10=";
+  };
+
+  nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
+
+  buildInputs = [ fcitx5 fcitx5-qt ninja gettext ];
+
+  meta = with lib; {
+    description = "Unikey engine support for Fcitx5";
+    homepage = "https://github.com/fcitx/fcitx5-unikey";
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ berberman ];
+    platforms = platforms.linux;
+  };
+}