1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
source $stdenv/setup flags="WXPORT=gtk2 BUILD_GLCANVAS=0 BUILD_OGL=0" configurePhase() { cd wxPython } configurePhase=configurePhase buildPhase() { python setup.py $flags build } buildPhase=buildPhase installPhase() { python setup.py $flags install --prefix=$out } installPhase=installPhase genericBuild