summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules
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
parent79008f6095acaa0b5d5e6c8af708d691e2c7adf8 (diff)
pyqt5: move to qmakeHook
Diffstat (limited to 'pkgs/development/python-modules')
-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 b11e87fe1d93..0e5f5604a988 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 = ''