Added PyQt 4.7 expression required by KDE 4.4.x

svn path=/nixpkgs/trunk/; revision=19911
This commit is contained in:
Sander van der Burg 2010-02-10 16:09:12 +00:00
parent 31cbd149d2
commit e7739553e6
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, lib, python, sip, qt4}:
stdenv.mkDerivation {
name = "pyqt-x11-gpl-4.7";
src = fetchurl {
url = http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.7.tar.gz;
sha256 = "0hwp84igw639mgw344q2jmnjarhq5wk60ncn8h2jjg7k4vchbvkz";
};
configurePhase = "python ./configure.py --confirm-license -b $out/bin -d $out/lib/${python.libPrefix}/site-packages -v $out/share/sip -p $out/plugins";
buildInputs = [ python sip qt4 ];
meta = {
description = "Python bindings for Qt";
license = "GPL";
homepage = http://www.riverbankcomputing.co.uk;
maintainers = [ lib.maintainers.sander ];
platforms = lib.platforms.mesaPlatforms;
};
}

View File

@ -5318,6 +5318,12 @@ let
sip = sip_python26; sip = sip_python26;
}; };
pyqt47 = import ../development/python-modules/pyqt/4.7.nix {
inherit stdenv fetchurl lib python;
qt4 = qt46;
sip = sip410;
};
pyx = import ../development/python-modules/pyx { pyx = import ../development/python-modules/pyx {
inherit fetchurl stdenv python makeWrapper; inherit fetchurl stdenv python makeWrapper;
}; };