2013-02-18 22:12:11 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-21 00:16:56 +01:00
|
|
|
name = "snappy-1.1.1";
|
2013-02-18 22:12:11 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://snappy.googlecode.com/files/${name}.tar.gz";
|
2013-12-21 00:16:56 +01:00
|
|
|
sha256 = "1czscb5i003jg1amw3g1fmasv8crr5g3d922800kll8b3fj097yp";
|
2013-02-18 22:12:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# -DNDEBUG for speed
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlagsArray=("CXXFLAGS=-DNDEBUG -O2")
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2013-02-19 11:23:28 +01:00
|
|
|
homepage = http://code.google.com/p/snappy/;
|
|
|
|
license = "BSD";
|
2013-02-18 22:12:11 +01:00
|
|
|
description = "Compression/decompression library for very high speeds";
|
|
|
|
};
|
|
|
|
}
|