* Added wxPython.
svn path=/nixpkgs/trunk/; revision=795
This commit is contained in:
parent
057ad6798c
commit
9261c1eaa5
8
pkgs/development/python-modules/wxPython/builder.sh
Executable file
8
pkgs/development/python-modules/wxPython/builder.sh
Executable 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
|
16
pkgs/development/python-modules/wxPython/default.nix
Normal file
16
pkgs/development/python-modules/wxPython/default.nix
Normal 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;
|
||||||
|
}
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user