Merge commit '2858c41' into HEAD

This commit is contained in:
Frederik Rietdijk
2017-08-30 21:07:07 +02:00
515 changed files with 2258 additions and 1901 deletions

View File

@@ -48,6 +48,9 @@ let
sha256 = "1a3qzsab7vzjqpdialp1g8ppr21x05v0ph8ngyq9pyjkx4vzcdi7";
};
};
pyEnv = python3.buildEnv.override {
extraLibs = [ python3.pkgs.pygobject3 ];
};
in stdenv.mkDerivation rec {
name = "ibus-${version}";
version = "1.5.16";
@@ -77,16 +80,16 @@ in stdenv.mkDerivation rec {
];
buildInputs = [
python3
pyEnv
intltool isocodes pkgconfig
gtk2 gtk3 dconf
json_glib
dbus libnotify gobjectIntrospection wayland
];
propagatedBuildInputs = [ glib python3.pkgs.pygobject3 ];
propagatedBuildInputs = [ glib ];
nativeBuildInputs = [ wrapGAppsHook python3.pkgs.wrapPython ];
nativeBuildInputs = [ wrapGAppsHook ];
outputs = [ "out" "dev" ];
@@ -104,11 +107,6 @@ in stdenv.mkDerivation rec {
substituteInPlace data/dconf/Makefile.in --replace "dconf update" "echo"
'';
postFixup = ''
buildPythonPath $out
patchPythonScript $out/share/ibus/setup/main.py
'';
doInstallCheck = true;
installCheckPhase = "$out/bin/ibus version";