1 { lib, stdenv, fetchurl, cmake, fcitx, libhangul, gettext, pkg-config }:
3 stdenv.mkDerivation rec {
4 pname = "fcitx-hangul";
8 url = "http://download.fcitx-im.org/fcitx-hangul/${pname}-${version}.tar.xz";
9 sha256 = "0ds4071ljq620w7vnprm2jl8zqqkw7qsxvzbjapqak4jarczvmbd";
12 nativeBuildInputs = [ cmake pkg-config ];
13 buildInputs = [ fcitx libhangul gettext ];
16 substituteInPlace src/cmake_install.cmake \
17 --replace ${fcitx} $out
18 substituteInPlace data/cmake_install.cmake \
19 --replace ${fcitx} $out
24 homepage = "https://github.com/fcitx/fcitx-hangul";
25 downloadPage = "http://download.fcitx-im.org/fcitx-hangul/";
26 description = "Fcitx Wrapper for hangul";
27 license = licenses.gpl2;
28 platforms = platforms.linux;
29 maintainers = with maintainers; [ ericsagnes ];