b2557476f7
Qt 5 is passed via all-packages.nix, so it doesn't look too odd if you want to build against qt4 instead. Before you'd have to use something like: quazip.override { qt5 = qt4; } Now, it is: quazip.override { qt = qt4; } Signed-off-by: aszlig <aszlig@redmoonstudios.org>
24 lines
597 B
Nix
24 lines
597 B
Nix
{ fetchurl, stdenv, zip, zlib, qt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "quazip-0.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/quazip/${name}.tar.gz";
|
|
sha256 = "8af5e7f9bff98b5a2982800a292eae0176c2b41a98a8deab14f4e1cbe07674a4";
|
|
};
|
|
|
|
configurePhase = "cd quazip && qmake quazip.pro";
|
|
|
|
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;
|
|
};
|
|
}
|