nixpkgs/pkgs/development/libraries/quazip/default.nix

28 lines
648 B
Nix
Raw Normal View History

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