d663b3df24
Commit 0055c6a
introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of quazip override
the whole configurePhase, so this hook isn't run at all.
This fixes the build of quazip and it now successfully compiles on my
machine.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
27 lines
648 B
Nix
27 lines
648 B
Nix
{ fetchurl, stdenv, zip, zlib, qt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "quazip-0.7.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/quazip/${name}.tar.gz";
|
|
sha256 = "1pijy6zn8kdx9m6wrckid24vkgp250hklbpmgrpixiam6l889jbq";
|
|
};
|
|
|
|
configurePhase = ''
|
|
runHook preConfigure
|
|
cd quazip && qmake quazip.pro
|
|
runHook postConfigure
|
|
'';
|
|
|
|
installFlags = "INSTALL_ROOT=$(out)";
|
|
|
|
buildInputs = [ zlib qt ];
|
|
|
|
meta = {
|
|
description = "Provides access to ZIP archives from Qt programs";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
homepage = http://quazip.sourceforge.net/;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|