pyqt5: move to qmakeHook
This reverts commit f1c2572479265d121d55d9e3270dc1ebfee4aa00.
This commit is contained in:
parent
79008f6095
commit
c161258003
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, python, pkgconfig, qtbase, qtsvg, qtwebkit, sip, pythonDBus
|
{ stdenv, fetchurl, python, pkgconfig, qtbase, qtsvg, qtwebkit, sip, pythonDBus
|
||||||
, lndir, makeWrapper }:
|
, lndir, makeWrapper, qmakeHook }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.5.1";
|
version = "5.5.1";
|
||||||
@ -21,13 +21,12 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python pkgconfig makeWrapper lndir
|
python pkgconfig makeWrapper lndir
|
||||||
qtbase qtsvg qtwebkit
|
qtbase qtsvg qtwebkit qmakeHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ sip ];
|
propagatedBuildInputs = [ sip ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
runHook preConfigure
|
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
lndir ${pythonDBus} $out
|
lndir ${pythonDBus} $out
|
||||||
|
|
||||||
@ -45,7 +44,6 @@ in stdenv.mkDerivation {
|
|||||||
--destdir=$out/lib/${python.libPrefix}/site-packages \
|
--destdir=$out/lib/${python.libPrefix}/site-packages \
|
||||||
--sipdir=$out/share/sip \
|
--sipdir=$out/share/sip \
|
||||||
--designer-plugindir=$out/plugins/designer
|
--designer-plugindir=$out/plugins/designer
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -166,10 +166,9 @@ in modules // {
|
|||||||
pythonPackages = self;
|
pythonPackages = self;
|
||||||
};
|
};
|
||||||
|
|
||||||
pyqt5 = callPackage ../development/python-modules/pyqt/5.x.nix {
|
pyqt5 = pkgs.qt55.callPackage ../development/python-modules/pyqt/5.x.nix {
|
||||||
sip = self.sip_4_16;
|
sip = self.sip_4_16;
|
||||||
pythonDBus = self.dbus;
|
pythonDBus = self.dbus;
|
||||||
inherit (pkgs.qt55) qtbase qtsvg qtwebkit;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
pyside = callPackage ../development/python-modules/pyside { };
|
pyside = callPackage ../development/python-modules/pyside { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user