nixpkgs/pkgs/development/libraries/lzo/default.nix

33 lines
882 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "lzo-2.06";
src = fetchurl {
url = "${meta.homepage}/download/${name}.tar.gz";
sha256 = "0wryshs446s7cclrbjykyj766znhcpnr7s3cxy33ybfn6vwfcygz";
};
configureFlags = [ "--enable-shared" ];
doCheck = true;
meta = {
description = "A data compresion library suitable for real-time data de-/compression";
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.
'';
homepage = http://www.oberhumer.com/opensource/lzo;
license = "GPLv2+";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.ludo ];
};
}