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