* 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:
Eelco Dolstra
2011-05-04 08:41:50 +00:00
parent 9afa230dfc
commit 345b9a75d5
3 changed files with 32 additions and 13 deletions

View File

@@ -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; };
}