1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, libevent, openssl}:
3 stdenv.mkDerivation rec {
4 pname = "libcouchbase";
7 src = fetchFromGitHub {
11 sha256 = "sha256-dvXRbAdgb1WmKLijYkx6+js60ZxK1Tl2aTFSF7EpN74=";
14 cmakeFlags = [ "-DLCB_NO_MOCK=ON" ];
16 nativeBuildInputs = [ cmake pkg-config ];
17 buildInputs = [ libevent openssl ];
19 # Running tests in parallel does not work
20 enableParallelChecking = false;
22 doCheck = !stdenv.isDarwin;
25 description = "C client library for Couchbase";
26 homepage = "https://github.com/couchbase/libcouchbase";
27 license = licenses.asl20;
28 platforms = platforms.unix;