2009-09-10 18:00:30 +01:00
|
|
|
{stdenv, fetchurl, lib, python, sip, qt4}:
|
2009-02-25 16:05:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-10-01 12:58:20 +01:00
|
|
|
name = "pyqt-x11-gpl-4.5.4";
|
2009-02-25 16:05:13 +00:00
|
|
|
src = fetchurl {
|
2009-10-01 12:43:38 +01:00
|
|
|
url = http://pyqwt.sourceforge.net/support/PyQt-x11-gpl-4.5.4.tar.gz; # Not downloading from riverbank, since they remove older releases
|
|
|
|
sha256 = "1a55zng6yhnbk5swc02bkbyccdgf0f0v94yxk9v5a43hv9xnrl5k";
|
2009-02-25 16:05:13 +00:00
|
|
|
};
|
2010-01-07 22:47:30 +00:00
|
|
|
configurePhase = "python ./configure.py --confirm-license -b $out/bin -d $out/lib/${python.libPrefix}/site-packages -v $out/share/sip -p $out/plugins";
|
2009-02-25 16:05:13 +00:00
|
|
|
buildInputs = [ python sip qt4 ];
|
2009-09-10 18:00:30 +01:00
|
|
|
meta = {
|
|
|
|
description = "Python bindings for Qt";
|
|
|
|
license = "GPL";
|
|
|
|
homepage = http://www.riverbankcomputing.co.uk;
|
|
|
|
maintainers = [ lib.maintainers.sander ];
|
2009-09-16 16:12:24 +01:00
|
|
|
platforms = lib.platforms.mesaPlatforms;
|
2009-09-10 18:00:30 +01:00
|
|
|
};
|
2009-02-25 16:05:13 +00:00
|
|
|
}
|