5 updateAutotoolsGnuConfigScriptsHook,
8 stdenv.mkDerivation rec {
13 url = "https://www.oberhumer.com/opensource/lzo/download/${pname}-${version}.tar.gz";
14 sha256 = "0wm04519pd3g8hqpjqhfr72q8qmbiwqaxcs3cndny9h86aa95y60";
17 nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
19 configureFlags = lib.optional (!stdenv.hostPlatform.isStatic) "--enable-shared";
21 enableParallelBuilding = true;
23 doCheck = true; # not cross;
28 description = "Real-time data (de)compression library";
30 LZO is a portable lossless data compression library written in ANSI C.
31 Both the source code and the compressed data format are designed to be
32 portable across platforms.
33 LZO offers pretty fast compression and *extremely* fast decompression.
34 While it favours speed over compression ratio, it includes slower
35 compression levels achieving a quite competitive compression ratio
36 while still decompressing at this very high speed.
39 homepage = "http://www.oberhumer.com/opensource/lzo";
40 license = licenses.gpl2Plus;
42 platforms = platforms.all;