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

24 lines
517 B
Nix
Raw Normal View History

2013-02-18 22:12:11 +01:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "snappy-1.1.0";
src = fetchurl {
url = "http://snappy.googlecode.com/files/${name}.tar.gz";
sha256 = "0q31cx3zkw0apx1fy8z3xlh2lvivssvykqn0vxsgm4xvi32jpa0z";
};
# -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";
};
}