diff options
author | Hoàng Minh Thắng <p@banphim.net> | 2016-08-11 16:04:04 +0700 |
---|---|---|
committer | Hoàng Minh Thắng <p@banphim.net> | 2016-08-12 14:36:36 +0700 |
commit | 8669d688c7cd3ca446623f479895659fda2a135a (patch) | |
tree | 0937ad46d9644db41d36187b45878cafe69ef029 /pkgs/tools/inputmethods/fcitx-engines | |
parent | 4b20c5367de0385be0fe3b06bd91873f74966931 (diff) | |
download | nixlib-8669d688c7cd3ca446623f479895659fda2a135a.tar nixlib-8669d688c7cd3ca446623f479895659fda2a135a.tar.gz nixlib-8669d688c7cd3ca446623f479895659fda2a135a.tar.bz2 nixlib-8669d688c7cd3ca446623f479895659fda2a135a.tar.lz nixlib-8669d688c7cd3ca446623f479895659fda2a135a.tar.xz nixlib-8669d688c7cd3ca446623f479895659fda2a135a.tar.zst nixlib-8669d688c7cd3ca446623f479895659fda2a135a.zip |
fcitx-unikey: init at 0.2.5
Diffstat (limited to 'pkgs/tools/inputmethods/fcitx-engines')
-rw-r--r-- | pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix b/pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix new file mode 100644 index 000000000000..b2cd71d1816e --- /dev/null +++ b/pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, cmake, fcitx, gettext, pkgconfig }: + +stdenv.mkDerivation rec { + name = "fcitx-unikey-${version}"; + version = "0.2.5"; + + src = fetchurl { + url = "http://download.fcitx-im.org/fcitx-unikey/${name}.tar.xz"; + sha256 = "063vc29v7ycaai98v3z4q319sv9sm91my17pmhblw1vifxnw02wf"; + }; + + buildInputs = [ cmake fcitx gettext pkgconfig ]; + + preInstall = '' + substituteInPlace src/cmake_install.cmake \ + --replace ${fcitx} $out + substituteInPlace data/cmake_install.cmake \ + --replace ${fcitx} $out + ''; + + meta = with stdenv.lib; { + isFcitxEngine = true; + homepage = "https://github.com/fcitx/fcitx-unikey"; + downloadPage = "http://download.fcitx-im.org/fcitx-table-other/"; + description = "Fcitx wrapper for unikey"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ ericsagnes ]; + }; + +} \ No newline at end of file |