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-01-17 15:13:09 +00:00
|
|
|
version = "4.0.4";
|
2018-07-21 16:41:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 15:13:09 +00:00
|
|
|
sha256 = "0d9ef4260cb2f3e23ed9dcf6baa905ba585ac7d631613cddc299c4c83463ae29";
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|