3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/snappy/default.nix
Jörg Thalheim b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00

33 lines
733 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "snappy-${version}";
version = "1.1.7";
src = fetchFromGitHub {
owner = "google";
repo = "snappy";
rev = "${version}";
sha256 = "1x7r8sjmdqlqjz0xfiwdyrqpgaj5yrvrgb28ivgpvnxgar5qv6m2";
};
patches = [ ./disable-benchmark.patch ];
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
checkTarget = "test";
doCheck = true;
meta = with stdenv.lib; {
homepage = https://google.github.io/snappy/;
license = licenses.bsd3;
description = "Compression/decompression library for very high speeds";
platforms = platforms.unix;
};
}