ibus-engines: use wrapPythonPrograms
This is needed now that PYTHONPATH is not propagated. Also several packages with additional dependencies are now properly wrapped.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
, autoreconfHook, docbook2x, pkgconfig
|
||||
, gtk3, dconf, gobjectIntrospection
|
||||
, ibus, python3, pygobject3 }:
|
||||
, ibus, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ibus-table-${version}";
|
||||
@@ -29,16 +29,18 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
dconf gtk3 gobjectIntrospection ibus python3 pygobject3
|
||||
dconf gtk3 gobjectIntrospection ibus python3
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook docbook2x pkgconfig ];
|
||||
nativeBuildInputs = [ autoreconfHook docbook2x pkgconfig python3.pkgs.wrapPython ];
|
||||
|
||||
postUnpack = ''
|
||||
substituteInPlace $sourceRoot/engine/Makefile.am \
|
||||
--replace "docbook2man" "docbook2man --sgml"
|
||||
'';
|
||||
|
||||
postFixup = "wrapPythonPrograms";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
isIbusEngine = true;
|
||||
description = "An IBus framework for table-based input methods";
|
||||
|
||||
Reference in New Issue
Block a user