quazip: move to qmakeHook

This reverts commit d663b3df24.
This commit is contained in:
Nikolay Amiantov 2016-04-16 23:01:40 +03:00
parent 1875538730
commit 82af8640e3
2 changed files with 4 additions and 9 deletions

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, zip, zlib, qt }:
{ fetchurl, stdenv, zip, zlib, qt, qmakeHook }:
stdenv.mkDerivation rec {
name = "quazip-0.7.1";
@ -8,15 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "1pijy6zn8kdx9m6wrckid24vkgp250hklbpmgrpixiam6l889jbq";
};
configurePhase = ''
runHook preConfigure
cd quazip && qmake quazip.pro
runHook postConfigure
'';
installFlags = "INSTALL_ROOT=$(out)";
preConfigure = "cd quazip";
buildInputs = [ zlib qt ];
nativeBuildInputs = [ qmakeHook ];
meta = {
description = "Provides access to ZIP archives from Qt programs";

View File

@ -3143,7 +3143,7 @@ in
screen-message = callPackage ../tools/X11/screen-message { };
screencloud = callPackage ../applications/graphics/screencloud {
quazip = qt5.quazip.override { qt = qt4; };
quazip = qt5.quazip.override { qt = qt4; qmakeHook = qmake4Hook; };
};
scrot = callPackage ../tools/graphics/scrot { };