2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "lzo";
|
|
|
|
version = "2.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "https://www.oberhumer.com/opensource/lzo/download/${pname}-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0wm04519pd3g8hqpjqhfr72q8qmbiwqaxcs3cndny9h86aa95y60";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true; # not cross;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00: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.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = "http://www.oberhumer.com/opensource/lzo";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|