summary refs log tree commit diff
path: root/pkgs/development/python-modules/wxPython/2.6.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/wxPython/2.6.nix')
-rw-r--r--pkgs/development/python-modules/wxPython/2.6.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/wxPython/2.6.nix b/pkgs/development/python-modules/wxPython/2.6.nix
index ad8c39b4ea7a..362f52bf44fc 100644
--- a/pkgs/development/python-modules/wxPython/2.6.nix
+++ b/pkgs/development/python-modules/wxPython/2.6.nix
@@ -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; };
 }