ibus-m17n: use Python 3

This commit is contained in:
Thomas Tuegel 2016-02-28 07:10:11 -06:00
parent c62bf00442
commit 41204574be
2 changed files with 12 additions and 6 deletions

View File

@ -1,5 +1,7 @@
{ stdenv, fetchFromGitHub, ibus, m17n_lib, m17n_db, automake, autoconf, { stdenv, fetchFromGitHub
gettext, libtool, pkgconfig, python, pythonPackages }: , automake, autoconf, libtool, pkgconfig
, ibus, m17n_lib, m17n_db, gettext, python3, pygobject3
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ibus-m17n-${version}"; name = "ibus-m17n-${version}";
@ -13,10 +15,12 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ buildInputs = [
ibus m17n_lib m17n_db automake autoconf gettext ibus m17n_lib m17n_db gettext
libtool pkgconfig python pythonPackages.pygobject3 python3 pygobject3
]; ];
nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
preConfigure = '' preConfigure = ''
autoreconf --verbose --force --install autoreconf --verbose --force --install
''; '';

View File

@ -1180,7 +1180,9 @@ let
inherit (python3Packages) pygobject3; inherit (python3Packages) pygobject3;
}; };
m17n = callPackage ../tools/inputmethods/ibus-engines/ibus-m17n { }; m17n = callPackage ../tools/inputmethods/ibus-engines/ibus-m17n {
inherit (python3Packages) pygobject3;
};
mozc = callPackage ../tools/inputmethods/ibus-engines/ibus-mozc { mozc = callPackage ../tools/inputmethods/ibus-engines/ibus-mozc {
inherit (pythonPackages) gyp; inherit (pythonPackages) gyp;