zeal: move to qmakeHook

This reverts commit 9cfc8d94bb.
This commit is contained in:
Nikolay Amiantov 2016-04-16 22:59:18 +03:00
parent 577ea10f68
commit 6554997eaa

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, libarchive, pkgconfig, qtbase { stdenv, fetchFromGitHub, libarchive, pkgconfig, qtbase
, qtimageformats, qtwebkit, qtx11extras, xorg }: , qtimageformats, qtwebkit, qtx11extras, xcbutilkeysyms, qmakeHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.2.1"; version = "0.2.1";
@ -13,18 +13,12 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ buildInputs = [
xorg.xcbutilkeysyms pkgconfig qtbase qtimageformats qtwebkit qtx11extras libarchive xcbutilkeysyms pkgconfig qtbase qtimageformats qtwebkit qtx11extras libarchive qmakeHook
]; ];
configurePhase = '' qmakeFlags = [ "PREFIX=/" ];
runHook preConfigure
qmake PREFIX=/
runHook postConfigure
'';
installPhase = '' installFlags = [ "INSTALL_ROOT=$(out)" ];
make INSTALL_ROOT=$out install
'';
enableParallelBuilding = true; enableParallelBuilding = true;