fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl, makeWrapper, python, intltool, pkgconfig
2, gnome3, atk, pygobject3, dbus, libnotify, isocodes, gobjectIntrospection, wayland }:
3
4stdenv.mkDerivation rec {
5 name = "ibus-${version}";
6 version = "1.5.10";
7
8 src = fetchurl {
9 url = "https://github.com/ibus/ibus/releases/download/${version}/${name}.tar.gz";
10 sha256 = "152mdzi9hr246spnn7bkb4gy16x30082xwq460gmm1q2cs0bf08x";
11 };
12
13 configureFlags = "--disable-gconf --enable-dconf --disable-memconf --enable-ui --enable-python-library";
14
15 buildInputs = [
16 makeWrapper python gnome3.glib wayland
17 intltool pkgconfig gnome3.gtk2
18 gnome3.gtk3 dbus gnome3.dconf gnome3.gconf
19 libnotify isocodes gobjectIntrospection
20 ];
21
22 preConfigure = ''
23 substituteInPlace data/dconf/Makefile.in --replace "dconf update" "echo"
24 sed -i "s|PYTHON2_LIBDIR=.*|PYTHON2_LIBDIR=$out/lib/${python.libPrefix}|" configure
25 '';
26
27 preFixup = ''
28 for f in "$out"/bin/*; do
29 wrapProgram "$f" --prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH" \
30 --prefix PYTHONPATH : "$(toPythonPath ${pygobject3})" \
31 --prefix LD_LIBRARY_PATH : "${gnome3.gtk3}/lib:${atk}/lib:$out/lib" \
32 --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH:$out/lib/girepository-1.0" \
33 --prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules"
34 done
35 '';
36
37 meta = {
38 homepage = https://github.com/ibus/ibus;
39 description = "Intelligent Input Bus for Linux / Unix OS";
40 platforms = stdenv.lib.platforms.linux;
41 };
42}