1{ lib
2, stdenv
3, fetchFromGitLab
4, unstableGitUpdater
5}:
6
7stdenv.mkDerivation (finalAttrs: {
8 pname = "libz";
9 version = "unstable-2018-03-31";
10
11 src = fetchFromGitLab {
12 owner = "sortix";
13 repo = "libz";
14 rev = "752c1630421502d6c837506d810f7918ac8cdd27";
15 hash = "sha256-AQuZ0BOl1iP5Nub+tVwctlE2tfJe4Sq/KDGkjwBbsV4=";
16 };
17
18 outputs = [ "out" "dev" ];
19 outputDoc = "dev"; # single tiny man3 page
20
21 passthru.updateScript = unstableGitUpdater { };
22
23 meta = {
24 homepage = "https://sortix.org/libz/";
25 description = "A clean fork of zlib";
26 license = [ lib.licenses.zlib ];
27 maintainers = with lib.maintainers; [ AndersonTorres ];
28 platforms = lib.platforms.unix;
29 };
30})