From e7739553e646accaa6bff3eac8fae370f78ddc8c Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Wed, 10 Feb 2010 16:09:12 +0000 Subject: [PATCH] Added PyQt 4.7 expression required by KDE 4.4.x svn path=/nixpkgs/trunk/; revision=19911 --- pkgs/development/python-modules/pyqt/4.7.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 ++++++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/python-modules/pyqt/4.7.nix 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; };