fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 name = "snappy-${version}";
5 version = "1.1.3";
6
7 src = fetchFromGitHub {
8 owner = "google";
9 repo = "snappy";
10 rev = version;
11 sha256 = "1w9pq8vag8c6m4ib0qbdbqzsnpwjvw01jbp15lgwg1rzwhvflm10";
12 };
13
14 nativeBuildInputs = [ pkgconfig autoreconfHook ];
15
16 # -DNDEBUG for speed
17 configureFlags = [ "CXXFLAGS=-DNDEBUG" ];
18
19 # SIGILL on darwin
20 doCheck = !stdenv.isDarwin;
21
22 meta = with stdenv.lib; {
23 homepage = http://code.google.com/p/snappy/;
24 license = licenses.bsd3;
25 description = "Compression/decompression library for very high speeds";
26 platforms = platforms.unix;
27 maintainers = with maintainers; [ wkennington ];
28 };
29}