nixpkgs/pkgs/development/libraries/quazip/default.nix
aszlig b2557476f7
quazip: Use qt instead of qt5 for refering to Qt.
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>
2014-11-17 01:06:02 +01:00

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;
};
}