nixpkgs-suyu/pkgs/development/libraries/libcouchbase/default.nix

31 lines
752 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libevent, openssl}:
2014-11-06 07:48:13 +01:00
stdenv.mkDerivation rec {
pname = "libcouchbase";
2021-08-22 07:25:57 +02:00
version = "3.2.1";
src = fetchFromGitHub {
owner = "couchbase";
2017-08-22 23:31:38 +02:00
repo = "libcouchbase";
rev = version;
2021-08-22 07:25:57 +02:00
sha256 = "sha256-6TMWWXAgt4e+De1ebmqQhaqcia1ZXT8IXn9fTGsr3qY=";
2014-11-06 07:48:13 +01:00
};
cmakeFlags = [ "-DLCB_NO_MOCK=ON" ];
2014-11-06 07:48:13 +01:00
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libevent openssl ];
# Running tests in parallel does not work
enableParallelChecking = false;
2018-07-16 18:26:13 +02:00
doCheck = !stdenv.isDarwin;
2014-11-06 07:48:13 +01:00
meta = with lib; {
2015-04-28 10:54:58 +02:00
description = "C client library for Couchbase";
homepage = "https://github.com/couchbase/libcouchbase";
license = licenses.asl20;
platforms = platforms.unix;
2014-11-06 07:48:13 +01:00
};
2015-04-28 10:54:58 +02:00
}