fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{lib, stdenv, fetchurl}:
2
3stdenv.mkDerivation rec {
4 pname = "lzo";
5 version = "2.10";
6
7 src = fetchurl {
8 url = "https://www.oberhumer.com/opensource/lzo/download/${pname}-${version}.tar.gz";
9 sha256 = "0wm04519pd3g8hqpjqhfr72q8qmbiwqaxcs3cndny9h86aa95y60";
10 };
11
12 configureFlags = lib.optional (!stdenv.hostPlatform.isStatic) "--enable-shared" ;
13
14 enableParallelBuilding = true;
15
16 doCheck = true; # not cross;
17
18 strictDeps = true;
19
20 meta = with lib; {
21 description = "Real-time data (de)compression library";
22 longDescription = ''
23 LZO is a portable lossless data compression library written in ANSI C.
24 Both the source code and the compressed data format are designed to be
25 portable across platforms.
26 LZO offers pretty fast compression and *extremely* fast decompression.
27 While it favours speed over compression ratio, it includes slower
28 compression levels achieving a quite competitive compression ratio
29 while still decompressing at this very high speed.
30 '';
31
32 homepage = "http://www.oberhumer.com/opensource/lzo";
33 license = licenses.gpl2Plus;
34
35 platforms = platforms.all;
36 };
37}