43 buildPythonPackage rec {
51 hash = "sha256-5I3iEaZga/By7D+neHcda3RsALf0uXDrWHKN31bRPVw=";
56 src = ./4.2-ctypes.patch;
57 libgdk = "${gtk3.out}/lib/libgdk-3.so";
58 libpangocairo = "${pango}/lib/libpangocairo-1.0.so";
59 libcairo = "${cairo}/lib/libcairo.so";
63 # https://github.com/wxWidgets/Phoenix/issues/2575
65 ln -s ${lib.getExe buildPackages.waf} bin/waf
66 substituteInPlace build.py \
67 --replace-fail "distutils.dep_util" "setuptools.modified"
78 ] ++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
85 ++ lib.optionals stdenv.hostPlatform.isLinux [
86 gst_all_1.gst-plugins-base
100 propagatedBuildInputs = [
109 export DOXYGEN=${doxygen}/bin/doxygen
110 export PATH="${wxGTK}/bin:$PATH"
111 export SDL_CONFIG="${SDL.dev}/bin/sdl-config"
112 export WAF=$PWD/bin/waf
114 ${python.pythonOnBuildForHost.interpreter} build.py -v --use_syswx dox etg sip --nodoc build_py
122 ${python.pythonOnBuildForHost.interpreter} setup.py install --skip-build --prefix=$out
131 ${python.interpreter} build.py -v test
137 changelog = "https://github.com/wxWidgets/Phoenix/blob/wxPython-${version}/CHANGES.rst";
138 description = "Cross platform GUI toolkit for Python, Phoenix version";
139 homepage = "http://wxpython.org/";
140 license = licenses.wxWindows;
141 maintainers = with maintainers; [ hexa ];