2014-11-17 01:06:02 +01:00
|
|
|
{ fetchurl, stdenv, zip, zlib, qt }:
|
2014-09-12 15:05:08 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-22 05:16:39 +01:00
|
|
|
name = "quazip-0.7.1";
|
2014-09-12 15:05:08 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/quazip/${name}.tar.gz";
|
2015-02-22 05:16:39 +01:00
|
|
|
sha256 = "1pijy6zn8kdx9m6wrckid24vkgp250hklbpmgrpixiam6l889jbq";
|
2014-09-12 15:05:08 +02:00
|
|
|
};
|
|
|
|
|
2016-04-15 01:24:26 +02:00
|
|
|
configurePhase = ''
|
|
|
|
runHook preConfigure
|
|
|
|
cd quazip && qmake quazip.pro
|
|
|
|
runHook postConfigure
|
|
|
|
'';
|
2014-09-12 15:05:08 +02:00
|
|
|
|
2014-09-20 11:43:14 +02:00
|
|
|
installFlags = "INSTALL_ROOT=$(out)";
|
2014-09-12 15:05:08 +02:00
|
|
|
|
2015-12-20 05:04:55 +01:00
|
|
|
buildInputs = [ zlib qt ];
|
2014-09-12 15:05:08 +02:00
|
|
|
|
|
|
|
meta = {
|
2014-09-14 17:53:12 +02:00
|
|
|
description = "Provides access to ZIP archives from Qt programs";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-09-12 15:05:08 +02:00
|
|
|
homepage = http://quazip.sourceforge.net/;
|
2014-09-14 17:53:12 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-09-12 15:05:08 +02:00
|
|
|
};
|
|
|
|
}
|