diff --git a/pkgs/development/python-modules/pyqt/4.7.nix b/pkgs/development/python-modules/pyqt/4.7.nix new file mode 100644 index 000000000000..f6e85c338cb4 --- /dev/null +++ b/pkgs/development/python-modules/pyqt/4.7.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ded1044881fd..7a4f583a94f0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5318,6 +5318,12 @@ let 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 { inherit fetchurl stdenv python makeWrapper; };