1 { lib, stdenv, fetchurl, texinfo }:
3 # Note: this package is used for bootstrapping fetchurl, and thus
4 # cannot use fetchpatch! All mutable patches (generated by GitHub or
5 # cgit) that are needed here should be included directly in Nixpkgs as
8 stdenv.mkDerivation rec {
11 outputs = [ "out" "man" "info" ];
13 nativeBuildInputs = [ texinfo ];
16 url = "mirror://savannah/lzip/${pname}-${version}.tar.gz";
17 sha256 = "sha256-R5LAR93xXvKdVbqOaKGiHgy3aS2H7N9yBEGYZFgvKA0=";
24 "CXX=${stdenv.cc.targetPrefix}c++"
27 setupHook = ./lzip-setup-hook.sh;
30 enableParallelBuilding = true;
33 homepage = "https://www.nongnu.org/lzip/lzip.html";
34 description = "A lossless data compressor based on the LZMA algorithm";
35 license = lib.licenses.gpl2Plus;
36 maintainers = with maintainers; [ vlaci ];
37 platforms = lib.platforms.all;