* Remove some obsolete wxGTK/wxPython versions.

svn path=/nixpkgs/trunk/; revision=7337
This commit is contained in:
Eelco Dolstra
2006-12-13 15:53:36 +00:00
parent 5a7b2515e1
commit cd8a033c15
7 changed files with 6 additions and 110 deletions

View File

@@ -1,24 +0,0 @@
source $stdenv/setup
flags="WXPORT=gtk2 BUILD_GLCANVAS=0 BUILD_OGL=0"
configurePhase() {
cd wxPython
}
configurePhase=configurePhase
buildPhase() {
# Hack: setup.py should figure this out itself (by calling
# wx-config) but apparently something goes wrong.
export NIX_CFLAGS_COMPILE="`wx-config --cflags` $NIX_CFLAGS_COMPILE"
python setup.py $flags build_ext
}
buildPhase=buildPhase
installPhase() {
python setup.py $flags install --prefix=$out
}
installPhase=installPhase
genericBuild

View File

@@ -1,14 +0,0 @@
{stdenv, fetchurl, pkgconfig, wxGTK, python}:
assert wxGTK.compat22;
stdenv.mkDerivation {
name = "wxPython-2.5.2.8";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/wxPythonSrc-2.5.2.8.tar.gz;
md5 = "573fd376fd39b66ad5fbf44b487aa0b2";
};
buildInputs = [pkgconfig wxGTK (wxGTK.gtk) python];
inherit wxGTK; # !!! move this down
} // { inherit python; }