* 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:
parent
9afa230dfc
commit
345b9a75d5
@ -1,14 +1,18 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, wxGTK, python}:
|
{ stdenv, fetchurl, pkgconfig, wxGTK, pythonPackages }:
|
||||||
|
|
||||||
assert wxGTK.unicode;
|
assert wxGTK.unicode;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "wxPython-2.6.3.3";
|
name = "wxPython-2.6.3.3";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/wxpython/wxPython-src-2.6.3.3.tar.bz2;
|
url = mirror://sourceforge/wxpython/wxPython-src-2.6.3.3.tar.bz2;
|
||||||
md5 = "66b9c5f8e20a9505c39dab1a1234daa9";
|
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; };
|
||||||
}
|
}
|
||||||
|
@ -4524,13 +4524,9 @@ let
|
|||||||
|
|
||||||
setuptools = pythonPackages.setuptools;
|
setuptools = pythonPackages.setuptools;
|
||||||
|
|
||||||
wxPython = wxPython28;
|
wxPython = pythonPackages.wxPython;
|
||||||
|
wxPython26 = pythonPackages.wxPython26;
|
||||||
wxPython26 = callPackage ../development/python-modules/wxPython/2.6.nix {
|
wxPython28 = pythonPackages.wxPython28;
|
||||||
wxGTK = wxGTK26;
|
|
||||||
};
|
|
||||||
|
|
||||||
wxPython28 = callPackage ../development/python-modules/wxPython/2.8.nix { };
|
|
||||||
|
|
||||||
twisted = pythonPackages.twisted;
|
twisted = pythonPackages.twisted;
|
||||||
|
|
||||||
@ -6909,7 +6905,9 @@ let
|
|||||||
|
|
||||||
transmission = callPackage ../applications/networking/p2p/transmission { };
|
transmission = callPackage ../applications/networking/p2p/transmission { };
|
||||||
|
|
||||||
tribler = callPackage ../applications/networking/p2p/tribler { };
|
tribler = callPackage ../applications/networking/p2p/tribler {
|
||||||
|
wxPython = wxPython26;
|
||||||
|
};
|
||||||
|
|
||||||
twinkle = callPackage ../applications/networking/twinkle {
|
twinkle = callPackage ../applications/networking/twinkle {
|
||||||
qt = qt3;
|
qt = qt3;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ pkgs, python }:
|
{ pkgs, python }:
|
||||||
|
|
||||||
python.modules // rec {
|
let pythonPackages = python.modules // rec {
|
||||||
|
|
||||||
inherit python;
|
inherit python;
|
||||||
|
|
||||||
@ -1729,6 +1729,23 @@ python.modules // rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
wxPython = wxPython28;
|
||||||
|
|
||||||
|
|
||||||
|
wxPython26 = import ../development/python-modules/wxPython/2.6.nix {
|
||||||
|
inherit (pkgs) stdenv fetchurl pkgconfig;
|
||||||
|
inherit pythonPackages;
|
||||||
|
wxGTK = pkgs.wxGTK26;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
|
||||||
|
inherit (pkgs) stdenv fetchurl pkgconfig;
|
||||||
|
inherit pythonPackages;
|
||||||
|
wxGTK = pkgs.wxGTK28;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
zbase32 = buildPythonPackage (rec {
|
zbase32 = buildPythonPackage (rec {
|
||||||
name = "zbase32-1.1.2";
|
name = "zbase32-1.1.2";
|
||||||
@ -1797,4 +1814,4 @@ python.modules // rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}; in pythonPackages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user