1 { lib, stdenv, fetchurl, cmake, fcitx, gettext, libchewing, pkg-config }:
3 stdenv.mkDerivation rec {
4 pname = "fcitx-chewing";
8 url = "http://download.fcitx-im.org/fcitx-chewing/${pname}-${version}.tar.xz";
9 sha256 = "1w5smp5zvjx681cp1znjypyr9sw5x6v0wnsk8a7ncwxi9q9wf4xk";
12 nativeBuildInputs = [ cmake pkg-config ];
13 buildInputs = [ fcitx gettext libchewing ];
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-chewing";
25 downloadPage = "http://download.fcitx-im.org/fcitx-chewing/";
26 description = "Fcitx engine for chewing";
27 license = licenses.gpl2;
28 platforms = platforms.linux;
29 maintainers = with maintainers; [ ericsagnes ];