2010-03-23 15:04:47 +01:00
|
|
|
{stdenv, fetchurl, python, sip, qt4}:
|
2010-02-10 17:09:12 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-03-23 15:04:47 +01:00
|
|
|
name = "pyqt-x11-gpl-4.7.2";
|
|
|
|
|
2010-02-10 17:09:12 +01:00
|
|
|
src = fetchurl {
|
2010-03-31 13:45:33 +02:00
|
|
|
url = http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.7.2.tar.gz;
|
|
|
|
sha256 = "097gxdr7jqv5a58z89djylm2b21x83crqn2fjsr5zmwhc0zwj5yv";
|
2010-02-10 17:09:12 +01:00
|
|
|
};
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2010-02-10 17:09:12 +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
|
|
|
|
2010-02-10 17:09:12 +01:00
|
|
|
buildInputs = [ python sip qt4 ];
|
2010-03-23 15:04:47 +01:00
|
|
|
|
2010-02-10 17:09:12 +01: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;
|
2010-02-10 17:09:12 +01:00
|
|
|
};
|
|
|
|
}
|