Fix wicd to find the python gobject on its PYTHONPATH

This commit is contained in:
Cillian de Róiste
2013-03-14 01:22:55 +01:00
parent b8339a1c1d
commit 0d191de368
2 changed files with 4 additions and 12 deletions

View File

@@ -12,14 +12,6 @@ stdenv.mkDerivation rec {
buildInputs = [ python pkgconfig glib ];
# in a "normal" setup, pygobject and pygtk are installed into the
# same site-packages: we need a pth file for both. pygtk.py would be
# used to select a specific version, in our setup it should have no
# effect, but we leave it in case somebody expects and calls it.
postInstall = ''
mv $out/lib/${python.libPrefix}/site-packages/{pygtk.pth,${name}.pth}
'';
meta = {
homepage = http://live.gnome.org/PyGObject;
description = "Python bindings for Glib";