1 { fetchFromGitHub, lib, stdenv, zlib, qtbase, qt5compat ? null, cmake, fixDarwinDylibNames }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-JPpkYvndjDcHVChAyWhpb/XiUPu/qHqDZFh5XmonXMs=";
14 buildInputs = [ zlib qtbase ];
15 propagatedBuildInputs = [ qt5compat ];
16 nativeBuildInputs = [ cmake ]
17 ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
19 dontWrapQtApps = true;
21 outputs = [ "out" "dev" ];
24 description = "Provides access to ZIP archives from Qt programs";
25 license = licenses.lgpl21Plus;
26 homepage = "https://stachenov.github.io/quazip/"; # Migrated from http://quazip.sourceforge.net/
27 platforms = with platforms; linux ++ darwin;