mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
f0e64ce16f
Manual migration for the sake of by-name migration is no longer discouraged since #340235.
33 lines
745 B
Nix
33 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;
|
|
};
|
|
})
|