2010-03-23 15:04:47 +01:00
|
|
|
{stdenv, fetchurl, python, sip, qt4}:
|
2009-02-25 17:05:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-04-11 23:03:51 +02:00
|
|
|
name = "pyqt-x11-gpl-4.7.2";
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2009-02-25 17:05:13 +01:00
|
|
|
src = fetchurl {
|
2010-04-11 23:03:51 +02:00
|
|
|
url = http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.7.2.tar.gz;
|
|
|
|
sha256 = "097gxdr7jqv5a58z89djylm2b21x83crqn2fjsr5zmwhc0zwj5yv";
|
2009-02-25 17:05:13 +01:00
|
|
|
};
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2010-01-07 23:47:30 +01:00
|
|
|
configurePhase = "python ./configure.py --confirm-license -b $out/bin -d $out/lib/${python.libPrefix}/site-packages -v $out/share/sip -p $out/plugins";
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2009-02-25 17:05:13 +01:00
|
|
|
buildInputs = [ python sip qt4 ];
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2009-09-10 19:00:30 +02:00
|
|
|
meta = {
|
|
|
|
description = "Python bindings for Qt";
|
|
|
|
license = "GPL";
|
|
|
|
homepage = http://www.riverbankcomputing.co.uk;
|
2010-03-23 15:04:47 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
|
|
|
platforms = stdenv.lib.platforms.mesaPlatforms;
|
2009-09-10 19:00:30 +02:00
|
|
|
};
|
2009-02-25 17:05:13 +01:00
|
|
|
}
|