1 { lib, stdenv, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-7hc/yNJh4sD5zGQLeHjowbUtV/1mUDQre1tp9yKMSSY=";
14 nativeBuildInputs = [ cmake ];
17 substituteInPlace "$out"/share/pkgconfig/miniz.pc \
18 --replace '=''${prefix}//' '=/' \
19 --replace '=''${exec_prefix}//' '=/'
23 description = "Single C source file zlib-replacement library";
24 homepage = "https://github.com/richgel999/miniz";
25 license = licenses.mit;
26 maintainers = with maintainers; [ astro ];
27 platforms = platforms.unix;