scons: add pythonPath attribute to ensure that the python-wrapper recognizes this package as providing a python library

This commit is contained in:
Peter Simons 2014-01-20 13:29:28 +01:00
parent f3ac3a265b
commit c6be3dbf1d

View File

@ -23,6 +23,8 @@ stdenv.mkDerivation {
buildPhase = "python setup.py install --prefix=$out --install-data=$out/share --install-lib=$(toPythonPath $out) --symlink-scons -O1";
installPhase = "for n in $out/bin/*-${version}; do wrapProgram $n --suffix PYTHONPATH ':' \"$(toPythonPath $out)\"; done";
pythonPath = [];
meta = {
homepage = "http://scons.org/";
description = "An improved, cross-platform substitute for Make";