1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, bzip2, xz, zstd, openssl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-OAm4OZeQdP2Q/UKYI9bR7OV9RmLmYF/j2NpK5TPoE60=";
14 nativeBuildInputs = [ cmake pkg-config ];
17 "-DBUILD_SHARED_LIBS=YES"
21 buildInputs = [ zlib bzip2 xz zstd openssl ];
24 description = "Compression library implementing the deflate compression method found in gzip and PKZIP";
25 homepage = "https://github.com/nmoinvaz/minizip";
26 license = licenses.zlib;
27 maintainers = with maintainers; [ gebner ];
28 platforms = platforms.unix;