From 8669d688c7cd3ca446623f479895659fda2a135a Mon Sep 17 00:00:00 2001 From: Hoàng Minh Thắng Date: Thu, 11 Aug 2016 16:04:04 +0700 Subject: fcitx-unikey: init at 0.2.5 --- .../fcitx-engines/fcitx-unikey/default.nix | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix (limited to 'pkgs/tools/inputmethods/fcitx-engines') 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 -- cgit 1.4.1