2014-09-11 14:29:20 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, wxGTK, pythonPackages, python, isPyPy }:
|
2007-05-31 15:43:13 +02:00
|
|
|
|
|
|
|
assert wxGTK.unicode;
|
|
|
|
|
2011-09-20 13:19:55 +02:00
|
|
|
let version = "2.8.12.1"; in
|
|
|
|
|
2014-09-11 14:29:20 +02:00
|
|
|
if isPyPy then throw "wxPython-${version} not supported for interpreter ${python.executable}" else stdenv.mkDerivation {
|
2011-09-20 13:19:55 +02:00
|
|
|
name = "wxPython-${version}";
|
2011-05-03 18:57:18 +02:00
|
|
|
|
2007-05-31 15:43:13 +02:00
|
|
|
builder = ./builder.sh;
|
2011-05-03 18:57:18 +02:00
|
|
|
|
2007-05-31 15:43:13 +02:00
|
|
|
src = fetchurl {
|
2011-09-20 13:19:55 +02:00
|
|
|
url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2";
|
|
|
|
sha256 = "1l1w4i113csv3bd5r8ybyj0qpxdq83lj6jrc5p7cc10mkwyiagqz";
|
2007-05-31 15:43:13 +02:00
|
|
|
};
|
2011-05-03 18:57:18 +02:00
|
|
|
|
|
|
|
buildInputs = [ pkgconfig wxGTK (wxGTK.gtk) pythonPackages.python pythonPackages.wrapPython ];
|
|
|
|
|
|
|
|
passthru = { inherit wxGTK; };
|
2014-11-04 18:18:48 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2007-05-31 15:43:13 +02:00
|
|
|
}
|