summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyqt
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-16 22:59:17 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-20 18:55:53 +0300
commitc161258003eee0d60618dd4bc39f543185f4517a (patch)
treefc93a39c5c32f3647c9afdd9f42bcf11571e2ad0 /pkgs/development/python-modules/pyqt
parent79008f6095acaa0b5d5e6c8af708d691e2c7adf8 (diff)
downloadnixpkgs-c161258003eee0d60618dd4bc39f543185f4517a.tar
nixpkgs-c161258003eee0d60618dd4bc39f543185f4517a.tar.gz
nixpkgs-c161258003eee0d60618dd4bc39f543185f4517a.tar.bz2
nixpkgs-c161258003eee0d60618dd4bc39f543185f4517a.tar.lz
nixpkgs-c161258003eee0d60618dd4bc39f543185f4517a.tar.xz
nixpkgs-c161258003eee0d60618dd4bc39f543185f4517a.tar.zst
nixpkgs-c161258003eee0d60618dd4bc39f543185f4517a.zip
pyqt5: move to qmakeHook
This reverts commit f1c2572479265d121d55d9e3270dc1ebfee4aa00.
Diffstat (limited to 'pkgs/development/python-modules/pyqt')
-rw-r--r--pkgs/development/python-modules/pyqt/5.x.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix
index b11e87fe1d9..0e5f5604a98 100644
--- a/pkgs/development/python-modules/pyqt/5.x.nix
+++ b/pkgs/development/python-modules/pyqt/5.x.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, python, pkgconfig, qtbase, qtsvg, qtwebkit, sip, pythonDBus
-, lndir, makeWrapper }:
+, lndir, makeWrapper, qmakeHook }:
 
 let
   version = "5.5.1";
@@ -21,13 +21,12 @@ in stdenv.mkDerivation {
 
   buildInputs = [
     python pkgconfig makeWrapper lndir
-    qtbase qtsvg qtwebkit
+    qtbase qtsvg qtwebkit qmakeHook
   ];
 
   propagatedBuildInputs = [ sip ];
 
   configurePhase = ''
-    runHook preConfigure
     mkdir -p $out
     lndir ${pythonDBus} $out
 
@@ -45,7 +44,6 @@ in stdenv.mkDerivation {
       --destdir=$out/lib/${python.libPrefix}/site-packages \
       --sipdir=$out/share/sip \
       --designer-plugindir=$out/plugins/designer
-    runHook postConfigure
   '';
 
   postInstall = ''