summary refs log tree commit diff
path: root/pkgs/development/libraries/quazip/default.nix
blob: 8899980affa98adb718ec488309c2e5e5e89f9a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ fetchurl, stdenv, zip, zlib, qt5 }:

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 qt5 ];

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