2009-03-03 13:27:40 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2007-11-11 16:17:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-05 21:14:24 +01:00
|
|
|
name = "lzo-2.09";
|
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";
|
2015-08-05 21:14:24 +01:00
|
|
|
sha256 = "0k5kpj3jnsjfxqqkblpfpx0mqcy86zs5fhjhgh2kq1hksg7ag57j";
|
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
|
|
|
|
2015-08-05 21:14:24 +01:00
|
|
|
doCheck = true;
|
2012-02-02 20:49:42 +00:00
|
|
|
|
2015-08-05 21:14:24 +01: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-02 20:49:42 +00:00
|
|
|
|
2009-03-03 13:27:40 +00: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;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
2009-03-03 13:27:40 +00:00
|
|
|
};
|
2007-11-11 16:17:21 +00:00
|
|
|
}
|