pythonPackages.pyqt5: 5.5.1 -> 5.6

This commit is contained in:
Nikolay Amiantov 2016-08-17 16:48:02 +03:00
parent 13fdb45c04
commit 33cabd882f
2 changed files with 11 additions and 11 deletions

View File

@ -1,10 +1,9 @@
{ stdenv, fetchurl, pythonPackages, pkgconfig, qtbase, qtsvg, qtwebkit
{ stdenv, fetchurl, pythonPackages, pkgconfig, qtbase, qtsvg, qtwebkit, dbus_libs
, lndir, makeWrapper, qmakeHook }:
let
version = "5.5.1";
inherit (pythonPackages) python dbus-python;
sip = pythonPackages.sip_4_16;
version = "5.6";
inherit (pythonPackages) python dbus-python sip;
in stdenv.mkDerivation {
name = "${python.libPrefix}-PyQt-${version}";
@ -17,13 +16,13 @@ in stdenv.mkDerivation {
};
src = fetchurl {
url = "mirror://sourceforge/pyqt/PyQt5/PyQt-${version}/PyQt-gpl-${version}.tar.gz";
sha256 = "11l3pm0wkwkxzw4n3022iid3yyia5ap4l0ny1m5ngkzzzfafyw0a";
url = "mirror://sourceforge/pyqt/PyQt5/PyQt-${version}/PyQt5_gpl-${version}.tar.gz";
sha256 = "1qgh42zsr9jppl9k7fcdbhxcd1wrb7wyaj9lng9nxfa19in1lj1f";
};
buildInputs = [
pkgconfig makeWrapper lndir
qtbase qtsvg qtwebkit qmakeHook
qtbase qtsvg qtwebkit dbus_libs qmakeHook
];
propagatedBuildInputs = [ sip python ];
@ -42,12 +41,13 @@ in stdenv.mkDerivation {
${python.executable} configure.py -w \
--confirm-license \
--dbus=$out/include/dbus-1.0 \
--dbus=${dbus_libs.dev}/include/dbus-1.0 \
--qmake=$QMAKE \
--no-qml-plugin \
--bindir=$out/bin \
--destdir=$out/lib/${python.libPrefix}/site-packages \
--sipdir=$out/share/sip \
--destdir=$out/${python.sitePackages} \
--stubsdir=$out/${python.sitePackages}/PyQt5 \
--sipdir=$out/share/sip/PyQt5 \
--designer-plugindir=$out/plugins/designer
runHook postConfigure

View File

@ -268,7 +268,7 @@ in modules // {
pythonPackages = self;
};
pyqt5 = pkgs.qt55.callPackage ../development/python-modules/pyqt/5.x.nix {
pyqt5 = pkgs.qt5.callPackage ../development/python-modules/pyqt/5.x.nix {
pythonPackages = self;
};