add ibus
This commit is contained in:
parent
f2d6166781
commit
88d4e92977
37
pkgs/development/libraries/ibus/default.nix
Normal file
37
pkgs/development/libraries/ibus/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv, fetchurl, makeWrapper, python, glib, intltool, pkgconfig
|
||||||
|
, gnome3, dbus, libnotify, isocodes, gobjectIntrospection, wayland }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ibus-${version}";
|
||||||
|
version = "1.5.5";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://ibus.googlecode.com/files/${name}.tar.gz";
|
||||||
|
sha256 = "1v4a9xv2k26g6ggk4282ynfvh68j2r5hg1cdpvnryfa8c2pkdaq2";
|
||||||
|
};
|
||||||
|
|
||||||
|
configureFlags = "--disable-gconf --enable-dconf --disable-memconf --enable-ui --enable-python-library";
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
makeWrapper python glib wayland
|
||||||
|
intltool pkgconfig gnome3.gtk2
|
||||||
|
gnome3.gtk3 dbus gnome3.dconf gnome3.gconf
|
||||||
|
libnotify isocodes gobjectIntrospection
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = "patchShebangs ./scripts";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
#${glib}/bin/glib-compile-schemas $out/share/glib-2.0/schemas/
|
||||||
|
|
||||||
|
for f in "$out"/bin/*; do
|
||||||
|
wrapProgram "$f" --prefix XDG_DATA_DIRS : "$out/share"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://code.google.com/p/ibus/;
|
||||||
|
description = "Intelligent Input Bus for Linux / Unix OS";
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -3563,6 +3563,8 @@ let
|
|||||||
|
|
||||||
hyenae = callPackage ../tools/networking/hyenae { };
|
hyenae = callPackage ../tools/networking/hyenae { };
|
||||||
|
|
||||||
|
ibus = callPackage ../development/libraries/ibus { };
|
||||||
|
|
||||||
iconnamingutils = callPackage ../development/tools/misc/icon-naming-utils {
|
iconnamingutils = callPackage ../development/tools/misc/icon-naming-utils {
|
||||||
inherit (perlPackages) XMLSimple;
|
inherit (perlPackages) XMLSimple;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user