2009-03-03 14:27:40 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2007-11-11 17:17:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-05 22:14:24 +02:00
|
|
|
name = "lzo-2.09";
|
2012-02-02 21:49:42 +01:00
|
|
|
|
2009-03-03 14:27:40 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/download/${name}.tar.gz";
|
2015-08-05 22:14:24 +02:00
|
|
|
sha256 = "0k5kpj3jnsjfxqqkblpfpx0mqcy86zs5fhjhgh2kq1hksg7ag57j";
|
2009-03-03 14:27:40 +01:00
|
|
|
};
|
2009-11-06 23:44:18 +01:00
|
|
|
|
2012-02-02 21:49:42 +01:00
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
2015-08-05 22:14:24 +02:00
|
|
|
enableParallelBuilding = true;
|
2009-11-06 23:44:18 +01:00
|
|
|
|
2015-08-05 22:14:24 +02:00
|
|
|
doCheck = true;
|
2012-02-02 21:49:42 +01:00
|
|
|
|
2015-08-05 22:14:24 +02: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 21:49:42 +01:00
|
|
|
|
2009-03-03 14:27:40 +01:00
|
|
|
homepage = http://www.oberhumer.com/opensource/lzo;
|
2015-08-05 22:14:24 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2012-02-02 21:49:42 +01:00
|
|
|
|
2015-08-05 22:14:24 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
2009-03-03 14:27:40 +01:00
|
|
|
};
|
2007-11-11 17:17:21 +01:00
|
|
|
}
|