* Remove some obsolete wxGTK/wxPython versions.
svn path=/nixpkgs/trunk/; revision=7337
This commit is contained in:
@@ -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
|
||||
@@ -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; }
|
||||
Reference in New Issue
Block a user