1{ stdenv, fetchurl, ibus, cmake, pkgconfig, qt4, icu, doxygen }:
2
3stdenv.mkDerivation rec {
4 name = "ibus-qt-${version}";
5 version = "1.3.3";
6
7 src = fetchurl {
8 url = "https://github.com/ibus/ibus-qt/releases/download/${version}/${name}-Source.tar.gz";
9 sha256 = "1q9g7qghpcf07valc2ni7yf994xqx2pmdffknj7scxfidav6p19g";
10 };
11
12 buildInputs = [
13 ibus cmake pkgconfig qt4 icu doxygen
14 ];
15
16 cmakeFlags = [ "-DQT_PLUGINS_DIR=lib/qt4/plugins" ];
17
18 meta = with stdenv.lib; {
19 homepage = https://github.com/ibus/ibus-qt/;
20 description = "Qt4 interface to the ibus input method";
21 platforms = platforms.linux;
22 license = licenses.gpl2Plus;
23 maintainers = with maintainers; [ gebner ];
24 };
25}