2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2009-03-03 13:27:40 +00:00
|
|
|
|
2007-11-11 16:17:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2017-04-11 10:54:18 +01:00
|
|
|
name = "lzo-2.10";
|
2012-02-02 20:49:42 +00:00
|
|
|
|
2009-03-03 13:27:40 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/download/${name}.tar.gz";
|
2017-04-11 10:54:18 +01:00
|
|
|
sha256 = "0wm04519pd3g8hqpjqhfr72q8qmbiwqaxcs3cndny9h86aa95y60";
|
2009-03-03 13:27:40 +00:00
|
|
|
};
|
2009-11-06 22:44:18 +00:00
|
|
|
|
2012-02-02 20:49:42 +00:00
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
2015-08-05 21:14:24 +01:00
|
|
|
enableParallelBuilding = true;
|
2009-11-06 22:44:18 +00:00
|
|
|
|
2018-01-08 07:19:47 +00:00
|
|
|
doCheck = true; # not cross;
|
2012-02-02 20:49:42 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-08-05 21:14:24 +01:00
|
|
|
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-02 20:49:42 +00:00
|
|
|
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.oberhumer.com/opensource/lzo";
|
2015-08-05 21:14:24 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2012-02-02 20:49:42 +00:00
|
|
|
|
2015-08-05 21:14:24 +01:00
|
|
|
platforms = platforms.all;
|
2009-03-03 13:27:40 +00:00
|
|
|
};
|
2007-11-11 16:17:21 +00:00
|
|
|
}
|