3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libcouchbase/default.nix
2021-06-09 20:43:28 +02:00

31 lines
753 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libevent, openssl}:
stdenv.mkDerivation rec {
pname = "libcouchbase";
version = "3.1.3";
src = fetchFromGitHub {
owner = "couchbase";
repo = "libcouchbase";
rev = version;
sha256 = "16mafxkdbns33yjyc2p3j2iajjpyq0zp66wpjir2qj1w3kgggcw8";
};
cmakeFlags = [ "-DLCB_NO_MOCK=ON" ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libevent openssl ];
# Running tests in parallel does not work
enableParallelChecking = false;
doCheck = !stdenv.isDarwin;
meta = with lib; {
description = "C client library for Couchbase";
homepage = "https://github.com/couchbase/libcouchbase";
license = licenses.asl20;
platforms = platforms.unix;
};
}