1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development/libraries/snappy/default.nix
William A. Kennington III 0ecdb40d86 snappy: 1.1.2 -> 1.1.3
2015-09-18 14:52:50 -07:00

30 lines
747 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook }:
stdenv.mkDerivation rec {
name = "snappy-${version}";
version = "1.1.3";
src = fetchFromGitHub {
owner = "google";
repo = "snappy";
rev = version;
sha256 = "1w9pq8vag8c6m4ib0qbdbqzsnpwjvw01jbp15lgwg1rzwhvflm10";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
# -DNDEBUG for speed
configureFlags = [ "CXXFLAGS=-DNDEBUG" ];
# SIGILL on darwin
doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; {
homepage = http://code.google.com/p/snappy/;
license = licenses.bsd3;
description = "Compression/decompression library for very high speeds";
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}