wxPython: turn off format hardening

This commit is contained in:
Robin Gloster 2016-02-07 21:17:34 +00:00
parent 70bcd8ace8
commit e353185ceb
1 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
disabled = isPy3k || isPyPy;
doCheck = false;
sourceRoot = "wxPython-src-${version}/wxPython";
hardening_format = false;
src = fetchurl {
url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2";
inherit sha256;
@ -18,7 +22,6 @@ stdenv.mkDerivation rec {
pythonPath = [ python setuptools ];
buildInputs = [ python setuptools pkgconfig wxGTK (wxGTK.gtk) wrapPython ] ++ stdenv.lib.optional openglSupport pyopengl;
preConfigure = "cd wxPython";
installPhase = ''
${python.interpreter} setup.py install WXPORT=gtk2 NO_HEADERS=1 BUILD_GLCANVAS=${if openglSupport then "1" else "0"} UNICODE=1 --prefix=$out