nixpkgs/pkgs/development/libraries/libcouchbase/default.nix
Tor Hedin Brønner 7cadf5f76c libcouchbase: tests can't run in parallel
70e2b0bef0 turned on parallel checking for cmake
by default. This doesn't work for libcouchebase.
2018-12-11 09:51:04 +01:00

31 lines
758 B
Nix

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