Added missing pygtk dependency to Gnome VTE library.

svn path=/nixpkgs/trunk/; revision=34194
This commit is contained in:
Rickard Nilsson 2012-05-21 14:58:16 +00:00
parent 6706ef1e99
commit 5a270abcb6

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, intltool, pkgconfig, glib, gtk, ncurses
, pythonSupport ? false, python}:
, pythonSupport ? false, python, pygtk}:
stdenv.mkDerivation rec {
name = "vte-0.28.0";
@ -10,12 +10,19 @@ stdenv.mkDerivation rec {
};
buildInputs = [ intltool pkgconfig glib gtk ncurses ] ++
stdenv.lib.optional pythonSupport python;
stdenv.lib.optionals pythonSupport [python pygtk];
configureFlags = ''
${if pythonSupport then "--enable-python" else "--disable-python"}
'';
postInstall = stdenv.lib.optionalString pythonSupport ''
cd $(toPythonPath $out)/gtk-2.0
for n in *; do
ln -s "gtk-2.0/$n" "../$n"
done
'';
meta = {
homepage = http://www.gnome.org/;
description = "A library implementing a terminal emulator widget for GTK+";