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

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

  nativeBuildInputs = [ texinfo ];

  src = fetchurl {
    url = "mirror://savannah/lzip/${pname}/${pname}-${version}.tar.gz";
    sha256 = "sha256-jl2EJC61LPHcyY5YvZuo7xrvpQFDGr3QJzoiv0zjN7E=";
  };

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

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