2014-11-17 00:06:02 +00:00
|
|
|
{ fetchurl, stdenv, zip, zlib, qt }:
|
2014-09-12 14:05:08 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "quazip-0.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/quazip/${name}.tar.gz";
|
|
|
|
sha256 = "8af5e7f9bff98b5a2982800a292eae0176c2b41a98a8deab14f4e1cbe07674a4";
|
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = "cd quazip && qmake quazip.pro";
|
|
|
|
|
2014-09-20 10:43:14 +01:00
|
|
|
installFlags = "INSTALL_ROOT=$(out)";
|
2014-09-12 14:05:08 +01:00
|
|
|
|
2014-11-17 00:06:02 +00:00
|
|
|
buildInputs = [ zlib qt ];
|
2014-09-12 14:05:08 +01:00
|
|
|
|
|
|
|
meta = {
|
2014-09-14 16:53:12 +01:00
|
|
|
description = "Provides access to ZIP archives from Qt programs";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-09-12 14:05:08 +01:00
|
|
|
homepage = http://quazip.sourceforge.net/;
|
2014-09-14 16:53:12 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-09-12 14:05:08 +01:00
|
|
|
};
|
|
|
|
}
|