about summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/ibus/default.nix
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2015-05-28 22:03:35 +0200
committerGabriel Ebner <gebner@gebner.org>2015-05-28 22:07:36 +0200
commit77c790fc0e5778a99718bd50e32cd671a154cc7f (patch)
tree79f1e8b9637b411cf6490e2aa73ac2b64b5afecb /pkgs/tools/inputmethods/ibus/default.nix
parent6276ebafaea30797d338ddeee1134fe889251507 (diff)
downloadnixlib-77c790fc0e5778a99718bd50e32cd671a154cc7f.tar
nixlib-77c790fc0e5778a99718bd50e32cd671a154cc7f.tar.gz
nixlib-77c790fc0e5778a99718bd50e32cd671a154cc7f.tar.bz2
nixlib-77c790fc0e5778a99718bd50e32cd671a154cc7f.tar.lz
nixlib-77c790fc0e5778a99718bd50e32cd671a154cc7f.tar.xz
nixlib-77c790fc0e5778a99718bd50e32cd671a154cc7f.tar.zst
nixlib-77c790fc0e5778a99718bd50e32cd671a154cc7f.zip
Bump ibus, ibus-anthy, and ibus-qt to their latest versions.
Diffstat (limited to 'pkgs/tools/inputmethods/ibus/default.nix')
-rw-r--r--pkgs/tools/inputmethods/ibus/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/tools/inputmethods/ibus/default.nix b/pkgs/tools/inputmethods/ibus/default.nix
index 6b426169a708..97a8c3e7d1c7 100644
--- a/pkgs/tools/inputmethods/ibus/default.nix
+++ b/pkgs/tools/inputmethods/ibus/default.nix
@@ -3,11 +3,11 @@
 
 stdenv.mkDerivation rec {
   name = "ibus-${version}";
-  version = "1.5.5";
+  version = "1.5.10";
 
   src = fetchurl {
-    url = "http://ibus.googlecode.com/files/${name}.tar.gz";
-    sha256 = "1v4a9xv2k26g6ggk4282ynfvh68j2r5hg1cdpvnryfa8c2pkdaq2";
+    url = "https://github.com/ibus/ibus/releases/download/${version}/${name}.tar.gz";
+    sha256 = "152mdzi9hr246spnn7bkb4gy16x30082xwq460gmm1q2cs0bf08x";
   };
 
   configureFlags = "--disable-gconf --enable-dconf --disable-memconf --enable-ui --enable-python-library";
@@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
     libnotify isocodes gobjectIntrospection
   ];
 
-  preBuild = ''
-    patchShebangs ./scripts
-    substituteInPlace data/dconf/Makefile --replace "dconf update" "echo"
+  preConfigure = ''
+    substituteInPlace data/dconf/Makefile.in --replace "dconf update" "echo"
+    sed -i "s|PYTHON2_LIBDIR=.*|PYTHON2_LIBDIR=$out/lib/${python.libPrefix}|" configure
   '';
 
   preFixup = ''
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
   '';
 
   meta = {
-    homepage = https://code.google.com/p/ibus/;
+    homepage = https://github.com/ibus/ibus;
     description = "Intelligent Input Bus for Linux / Unix OS";
     platforms = stdenv.lib.platforms.linux;
   };