ibus-engines.table: remove hacky change to source code

Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
James Wood 2019-06-02 00:30:20 +01:00 committed by laMudri
parent ba21259d65
commit 549c14606e

View File

@ -30,7 +30,14 @@ stdenv.mkDerivation rec {
''; '';
buildInputs = [ buildInputs = [
dconf gtk3 gobject-introspection ibus (python3.withPackages (pypkgs: with pypkgs; [ pygobject3 ])) dconf
gtk3
gobject-introspection
ibus
(python3.withPackages (pypkgs: with pypkgs; [
pygobject3
(toPythonModule ibus)
]))
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -46,12 +53,6 @@ stdenv.mkDerivation rec {
--replace "docbook2man" "docbook2man --sgml" --replace "docbook2man" "docbook2man --sgml"
''; '';
postFixup = ''
wrapPythonPrograms
sed -e 's/LookupTable/LookupTable.new/' \
-i "$out/share/ibus-table/engine/table.py"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
isIbusEngine = true; isIbusEngine = true;
description = "An IBus framework for table-based input methods"; description = "An IBus framework for table-based input methods";