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

24 lines
517 B
Nix
Raw Normal View History

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