2018-07-21 16:41:48 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgconfig
|
|
|
|
, gtk3
|
|
|
|
, libjpeg
|
|
|
|
, libtiff
|
|
|
|
, SDL
|
|
|
|
, gst-plugins-base
|
|
|
|
, libnotify
|
|
|
|
, freeglut
|
|
|
|
, xorg
|
|
|
|
, which
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wxPython";
|
2019-05-30 07:49:54 +01:00
|
|
|
version = "4.0.6";
|
2018-07-21 16:41:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 07:49:54 +01:00
|
|
|
sha256 = "35cc8ae9dd5246e2c9861bb796026bbcb9fb083e4d49650f776622171ecdab37";
|
2018-07-21 16:41:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3 libjpeg libtiff SDL gst-plugins-base libnotify freeglut xorg.libSM
|
|
|
|
which
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Cross platform GUI toolkit for Python, Phoenix version";
|
|
|
|
homepage = http://wxpython.org/;
|
|
|
|
license = lib.licenses.wxWindows;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|