pythonPackages.wxPython28: remove package
This commit is contained in:
parent
218869e695
commit
253634c4ac
@ -1,39 +0,0 @@
|
|||||||
{ fetchurl
|
|
||||||
, lib
|
|
||||||
, pythonPackages
|
|
||||||
, openglSupport ? true
|
|
||||||
, libX11
|
|
||||||
, wxGTK
|
|
||||||
, pkgconfig
|
|
||||||
}:
|
|
||||||
|
|
||||||
assert wxGTK.unicode;
|
|
||||||
|
|
||||||
with pythonPackages;
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
name = "wxPython-${version}";
|
|
||||||
version = "2.8.12.1";
|
|
||||||
|
|
||||||
disabled = isPy3k || isPyPy;
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2";
|
|
||||||
sha256 = "1l1w4i113csv3bd5r8ybyj0qpxdq83lj6jrc5p7cc10mkwyiagqz";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ pkgconfig wxGTK (wxGTK.gtk) libX11 ] ++ lib.optional openglSupport pyopengl;
|
|
||||||
preConfigure = "cd wxPython";
|
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lX11 -lgdk-x11-2.0";
|
|
||||||
|
|
||||||
buildPhase = "";
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
${python.interpreter} setup.py install WXPORT=gtk2 NO_HEADERS=1 BUILD_GLCANVAS=${if openglSupport then "1" else "0"} UNICODE=1 --prefix=$out
|
|
||||||
wrapPythonPrograms
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru = { inherit wxGTK openglSupport; };
|
|
||||||
}
|
|
@ -23341,10 +23341,6 @@ in modules // {
|
|||||||
|
|
||||||
wxPython = self.wxPython30;
|
wxPython = self.wxPython30;
|
||||||
|
|
||||||
wxPython28 = callPackage ../development/python-modules/wxPython/2.8.nix {
|
|
||||||
wxGTK = pkgs.wxGTK28;
|
|
||||||
};
|
|
||||||
|
|
||||||
wxPython30 = callPackage ../development/python-modules/wxPython/3.0.nix {
|
wxPython30 = callPackage ../development/python-modules/wxPython/3.0.nix {
|
||||||
wxGTK = pkgs.wxGTK30;
|
wxGTK = pkgs.wxGTK30;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user