ibus-engines.table: Fix ibus-setup-table

It now requires dbus-python.

Missed this in https://github.com/NixOS/nixpkgs/pull/109973
This commit is contained in:
Jan Tojnar 2021-02-11 07:57:31 +01:00
parent 20c7034ec8
commit 6088dcf945
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
-e "/export IBUS_LOCALEDIR=/ s/^.$//" \ -e "/export IBUS_LOCALEDIR=/ s/^.$//" \
-i "setup/ibus-setup-table.in" -i "setup/ibus-setup-table.in"
substituteInPlace engine/tabcreatedb.py --replace '/usr/share/ibus-table' $out/share/ibus-table substituteInPlace engine/tabcreatedb.py --replace '/usr/share/ibus-table' $out/share/ibus-table
substituteInPlace engine/ibus_table_location.py \
--replace '/usr/libexec' $out/libexec \
--replace '/usr/share/ibus-table/' $out/share/ibus-table/
''; '';
buildInputs = [ buildInputs = [
@ -34,6 +37,7 @@ stdenv.mkDerivation rec {
gtk3 gtk3
ibus ibus
(python3.withPackages (pypkgs: with pypkgs; [ (python3.withPackages (pypkgs: with pypkgs; [
dbus-python
pygobject3 pygobject3
(toPythonModule ibus) (toPythonModule ibus)
])) ]))