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:
Nikolay Amiantov
2017-03-26 02:20:02 +03:00
parent 99434abff7
commit 66b05cd4e6
8 changed files with 39 additions and 34 deletions
@@ -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";