2009-03-03 14:27:40 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2007-11-11 17:17:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-02-02 21:49:42 +01:00
|
|
|
name = "lzo-2.06";
|
|
|
|
|
2009-03-03 14:27:40 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/download/${name}.tar.gz";
|
2012-02-02 21:49:42 +01:00
|
|
|
sha256 = "0wryshs446s7cclrbjykyj766znhcpnr7s3cxy33ybfn6vwfcygz";
|
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" ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2009-11-06 23:44:18 +01:00
|
|
|
|
2009-03-03 14:27:40 +01:00
|
|
|
meta = {
|
|
|
|
description = "A data compresion library suitable for real-time data de-/compression";
|
2012-02-02 21:49:42 +01:00
|
|
|
longDescription =
|
|
|
|
'' LZO is a data compression library which is suitable for data
|
|
|
|
de-/compression in real-time. This means it favours speed over
|
|
|
|
compression ratio.
|
|
|
|
|
|
|
|
LZO is written in ANSI C. Both the source code and the compressed
|
|
|
|
data format are designed to be portable across platforms.
|
|
|
|
'';
|
|
|
|
|
2009-03-03 14:27:40 +01:00
|
|
|
homepage = http://www.oberhumer.com/opensource/lzo;
|
2009-03-28 20:28:59 +01:00
|
|
|
license = "GPLv2+";
|
2012-02-02 21:49:42 +01:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2009-03-03 14:27:40 +01:00
|
|
|
};
|
2007-11-11 17:17:21 +01:00
|
|
|
}
|