about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libz/default.nix
blob: 6b3e1dacdc00e3f63511c50568509d5cb5e393b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, stdenv
, fetchFromGitLab
, unstableGitUpdater
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "libz";
  version = "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 { };

  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;
  };
})