2013-03-13 06:04:33 -07:00
|
|
|
{ stdenv, fetchurl, texinfo }:
|
2013-02-06 04:15:12 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-02 18:37:01 -08:00
|
|
|
name = "lzip-${version}";
|
2017-05-10 09:29:07 -07:00
|
|
|
version = "1.19";
|
2013-02-06 04:15:12 -08:00
|
|
|
|
2013-03-13 06:04:33 -07:00
|
|
|
buildInputs = [ texinfo ];
|
|
|
|
|
2013-02-06 04:15:12 -08:00
|
|
|
src = fetchurl {
|
2013-07-13 19:23:06 -07:00
|
|
|
url = "mirror://savannah/lzip/${name}.tar.gz";
|
2017-05-10 09:29:07 -07:00
|
|
|
sha256 = "1abbch762gv8rjr579q3qyyk6c80plklbv2mw4x0vg71dgsw9bgz";
|
2013-02-06 04:15:12 -08:00
|
|
|
};
|
|
|
|
|
2013-03-13 06:05:54 -07:00
|
|
|
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
|
|
|
|
|
2017-12-04 11:08:11 -08:00
|
|
|
setupHook = ./lzip-setup-hook.sh;
|
|
|
|
|
2013-02-06 04:15:12 -08:00
|
|
|
doCheck = true;
|
2017-12-04 11:08:11 -08:00
|
|
|
enableParallelBuilding = true;
|
2013-02-06 04:15:12 -08:00
|
|
|
|
|
|
|
meta = {
|
2017-08-01 13:03:30 -07:00
|
|
|
homepage = http://www.nongnu.org/lzip/lzip.html;
|
2016-06-20 03:53:46 -07:00
|
|
|
description = "A lossless data compressor based on the LZMA algorithm";
|
2013-02-06 04:15:12 -08:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|