summary refs log tree commit diff
path: root/pkgs/development/libraries/lzlib/default.nix
blob: 7ddf4fa5f17821c1d52dc9893fce3364df5b708d (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
{ lib, stdenv, fetchurl, texinfo, lzip }:

stdenv.mkDerivation rec {
  pname = "lzlib";
  version = "1.13";
  outputs = [ "out" "info" ];

  nativeBuildInputs = [ texinfo lzip ];

  src = fetchurl {
    url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.lz";
    sha256 = "sha256-3ea9WzJTXxeyjJrCS2ZgfgJQUGrBQypBEso8c/XWYsM=";
  };

  makeFlags = [ "CC:=$(CC)" ];
  doCheck = true;

  configureFlags = [ "--enable-shared" ];

  meta = with lib; {
    homepage = "https://www.nongnu.org/lzip/${pname}.html";
    description =
      "Data compression library providing in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data";
    license = licenses.bsd2;
    platforms = platforms.all;
    maintainers = with maintainers; [ ehmry ];
  };
}