2005-12-05 14:11:09 +00:00
|
|
|
source $stdenv/setup
|
2004-02-17 19:19:26 +00:00
|
|
|
|
2006-12-13 20:30:09 +00:00
|
|
|
flags="WXPORT=gtk2 NO_HEADERS=1 BUILD_GLCANVAS=0 BUILD_OGL=0 UNICODE=1"
|
2004-04-02 15:36:14 +00:00
|
|
|
|
|
|
|
configurePhase() {
|
|
|
|
cd wxPython
|
|
|
|
}
|
|
|
|
|
|
|
|
buildPhase() {
|
|
|
|
python setup.py $flags build
|
|
|
|
}
|
|
|
|
|
|
|
|
installPhase() {
|
|
|
|
python setup.py $flags install --prefix=$out
|
2011-05-03 16:57:18 +00:00
|
|
|
|
|
|
|
# Ugly workaround for Nixpkgs/111.
|
|
|
|
ln -s $out/lib/python*/site-packages/wx-*-gtk2-unicode/* $out/lib/python*/site-packages
|
|
|
|
|
|
|
|
wrapPythonPrograms
|
2004-04-02 15:36:14 +00:00
|
|
|
}
|
|
|
|
|
2009-04-23 13:31:10 +00:00
|
|
|
genericBuild
|