2023-08-22 20:05:09 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "libz";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.2.8.2015.12.26-unstable-2018-03-31";
|
2023-08-22 20:05:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "sortix";
|
|
|
|
repo = "libz";
|
|
|
|
rev = "752c1630421502d6c837506d810f7918ac8cdd27";
|
|
|
|
hash = "sha256-AQuZ0BOl1iP5Nub+tVwctlE2tfJe4Sq/KDGkjwBbsV4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
outputDoc = "dev"; # single tiny man3 page
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
tagPrefix = "libz-";
|
|
|
|
};
|
2023-08-22 20:05:09 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://sortix.org/libz/";
|
|
|
|
description = "A clean fork of zlib";
|
|
|
|
license = [ lib.licenses.zlib ];
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
})
|