2024-06-30 08:16:52 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
zlib,
|
|
|
|
autoreconfHook,
|
|
|
|
fetchpatch,
|
|
|
|
}:
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "minizip";
|
|
|
|
inherit (zlib) src version;
|
|
|
|
|
|
|
|
patchFlags = [ "-p3" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
sourceRoot = "zlib-${zlib.version}/contrib/minizip";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Compression library implementing the deflate compression method found in gzip and PKZIP";
|
|
|
|
inherit (zlib.meta) license homepage;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|