depot/third_party/nixpkgs/pkgs/development/libraries/libz/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
745 B
Nix

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