* Added wxPython.

svn path=/nixpkgs/trunk/; revision=795
This commit is contained in:
Eelco Dolstra 2004-02-17 19:19:26 +00:00
parent 057ad6798c
commit 9261c1eaa5
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#! /bin/sh -e
buildinputs="$wxGTK $python $pkgconfig $gtk"
. $stdenv/setup
tar xvfz $src
cd wxPythonSrc-*/wxPython
python setup.py WXPORT=gtk2 BUILD_GLCANVAS=0 BUILD_OGL=0 build install --prefix=$out

View file

@ -0,0 +1,16 @@
{stdenv, fetchurl, wxGTK, python}:
assert wxGTK.compat22;
derivation {
name = "wxPython-2.4.2.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/wxpython/wxPythonSrc-2.4.2.4.tar.gz;
md5 = "ea4eb68e10a0c2a9be643b35dcb78e41";
};
pkgconfig = wxGTK.pkgconfig;
gtk = wxGTK.gtk;
inherit stdenv wxGTK python;
}

View file

@ -533,6 +533,10 @@
inherit fetchurl stdenv perl expat;
};
wxPython = (import ../development/python-modules/wxPython) {
inherit fetchurl stdenv wxGTK python;
};
### SERVERS