Merge pull request #17664 from myguidingstar/master

fcitx-unikey: init at 0.2.5

authored by Robin Gloster and committed by GitHub 42a71d02 4412bcc1

+35
+2
nixos/modules/i18n/input-method/default.xml
··· 88 88 methods among Traditional Chinese Unix users.</para></listitem> 89 89 <listitem><para>Hangul (<literal>fcitx-engines.hangul</literal>): Korean input 90 90 method.</para></listitem> 91 + <listitem><para>Unikey (<literal>fcitx-engines.unikey</literal>): Vietnamese input 92 + method.</para></listitem> 91 93 <listitem><para>m17n (<literal>fcitx-engines.m17n</literal>): m17n is an input 92 94 method that uses input methods and corresponding icons in the m17n 93 95 database.</para></listitem>
+31
pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix
··· 1 + { stdenv, fetchurl, cmake, fcitx, gettext, pkgconfig }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "fcitx-unikey-${version}"; 5 + version = "0.2.5"; 6 + 7 + src = fetchurl { 8 + url = "http://download.fcitx-im.org/fcitx-unikey/${name}.tar.xz"; 9 + sha256 = "063vc29v7ycaai98v3z4q319sv9sm91my17pmhblw1vifxnw02wf"; 10 + }; 11 + 12 + buildInputs = [ cmake fcitx gettext pkgconfig ]; 13 + 14 + preInstall = '' 15 + substituteInPlace src/cmake_install.cmake \ 16 + --replace ${fcitx} $out 17 + substituteInPlace data/cmake_install.cmake \ 18 + --replace ${fcitx} $out 19 + ''; 20 + 21 + meta = with stdenv.lib; { 22 + isFcitxEngine = true; 23 + homepage = "https://github.com/fcitx/fcitx-unikey"; 24 + downloadPage = "http://download.fcitx-im.org/fcitx-table-other/"; 25 + description = "Fcitx wrapper for unikey"; 26 + license = licenses.gpl3Plus; 27 + platforms = platforms.linux; 28 + maintainers = with maintainers; [ ericsagnes ]; 29 + }; 30 + 31 + }
+2
pkgs/top-level/all-packages.nix
··· 1528 1528 1529 1529 hangul = callPackage ../tools/inputmethods/fcitx-engines/fcitx-hangul { }; 1530 1530 1531 + unikey = callPackage ../tools/inputmethods/fcitx-engines/fcitx-unikey { }; 1532 + 1531 1533 m17n = callPackage ../tools/inputmethods/fcitx-engines/fcitx-m17n { }; 1532 1534 1533 1535 mozc = callPackage ../tools/inputmethods/fcitx-engines/fcitx-mozc {