1{ lib
2, stdenv
3, fetchFromGitLab
4, unstableGitUpdater
5}:
6
7stdenv.mkDerivation (finalAttrs: {
8 pname = "libz";
9 version = "1.2.8.2015.12.26-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 tagPrefix = "libz-";
23 };
24
25 meta = {
26 homepage = "https://sortix.org/libz/";
27 description = "Clean fork of zlib";
28 license = [ lib.licenses.zlib ];
29 maintainers = with lib.maintainers; [ AndersonTorres ];
30 platforms = lib.platforms.unix;
31 };
32})