* Added wxPython.
svn path=/nixpkgs/trunk/; revision=795
This commit is contained in:
+8
@@ -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
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
@@ -533,6 +533,10 @@
|
|||||||
inherit fetchurl stdenv perl expat;
|
inherit fetchurl stdenv perl expat;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wxPython = (import ../development/python-modules/wxPython) {
|
||||||
|
inherit fetchurl stdenv wxGTK python;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
### SERVERS
|
### SERVERS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user