8c0b7e4ad2
- cleanup python libraries: * moving all python libraries into a attr set into a directory so that expressions can be used for both: python 2.5 and 2.6 easily * disabling packages which don't build svn path=/nixpkgs/trunk/; revision=21142
18 lines
266 B
Bash
18 lines
266 B
Bash
source $stdenv/setup
|
|
|
|
flags="WXPORT=gtk2 NO_HEADERS=1 BUILD_GLCANVAS=0 BUILD_OGL=0 UNICODE=1"
|
|
|
|
configurePhase() {
|
|
cd wxPython
|
|
}
|
|
|
|
buildPhase() {
|
|
python setup.py $flags build
|
|
}
|
|
|
|
installPhase() {
|
|
python setup.py $flags install --prefix=$out
|
|
}
|
|
|
|
genericBuild
|