* Move wxPython into python-packages.nix so that you can get wxPython
built for the appropriate Python version (e.g. python26Packages.wxPython). svn path=/nixpkgs/trunk/; revision=27127
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
{stdenv, fetchurl, pkgconfig, wxGTK, python}:
|
||||
{ stdenv, fetchurl, pkgconfig, wxGTK, pythonPackages }:
|
||||
|
||||
assert wxGTK.unicode;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "wxPython-2.6.3.3";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/wxpython/wxPython-src-2.6.3.3.tar.bz2;
|
||||
md5 = "66b9c5f8e20a9505c39dab1a1234daa9";
|
||||
};
|
||||
buildInputs = [pkgconfig wxGTK (wxGTK.gtk) python];
|
||||
inherit wxGTK; # !!! move this down
|
||||
|
||||
buildInputs = [ pkgconfig wxGTK (wxGTK.gtk) pythonPackages.python pythonPackages.wrapPython ];
|
||||
|
||||
passthru = { inherit wxGTK; };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user