2009-03-03 16:27:40 +03:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2007-11-11 19:17:21 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2017-04-11 12:54:18 +03:00
|
|
|
name = "lzo-2.10";
|
2012-02-03 00:49:42 +04:00
|
|
|
|
2009-03-03 16:27:40 +03:00
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/download/${name}.tar.gz";
|
2017-04-11 12:54:18 +03:00
|
|
|
sha256 = "0wm04519pd3g8hqpjqhfr72q8qmbiwqaxcs3cndny9h86aa95y60";
|
2009-03-03 16:27:40 +03:00
|
|
|
};
|
2009-11-07 01:44:18 +03:00
|
|
|
|
2012-02-03 00:49:42 +04:00
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
2015-08-05 23:14:24 +03:00
|
|
|
enableParallelBuilding = true;
|
2009-11-07 01:44:18 +03:00
|
|
|
|
2018-01-08 10:19:47 +03:00
|
|
|
doCheck = true; # not cross;
|
2012-02-03 00:49:42 +04:00
|
|
|
|
2015-08-05 23:14:24 +03:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Real-time data (de)compression library";
|
|
|
|
longDescription = ''
|
|
|
|
LZO is a portable lossless data compression library written in ANSI C.
|
|
|
|
Both the source code and the compressed data format are designed to be
|
|
|
|
portable across platforms.
|
|
|
|
LZO offers pretty fast compression and *extremely* fast decompression.
|
|
|
|
While it favours speed over compression ratio, it includes slower
|
|
|
|
compression levels achieving a quite competitive compression ratio
|
|
|
|
while still decompressing at this very high speed.
|
|
|
|
'';
|
2012-02-03 00:49:42 +04:00
|
|
|
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://www.oberhumer.com/opensource/lzo";
|
2015-08-05 23:14:24 +03:00
|
|
|
license = licenses.gpl2Plus;
|
2012-02-03 00:49:42 +04:00
|
|
|
|
2015-08-05 23:14:24 +03:00
|
|
|
platforms = platforms.all;
|
2009-03-03 16:27:40 +03:00
|
|
|
};
|
2007-11-11 19:17:21 +03:00
|
|
|
}
|