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