at 24.05-pre 30 lines 752 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libevent, openssl}: 2 3stdenv.mkDerivation rec { 4 pname = "libcouchbase"; 5 version = "3.3.9"; 6 7 src = fetchFromGitHub { 8 owner = "couchbase"; 9 repo = "libcouchbase"; 10 rev = version; 11 sha256 = "sha256-dvXRbAdgb1WmKLijYkx6+js60ZxK1Tl2aTFSF7EpN74="; 12 }; 13 14 cmakeFlags = [ "-DLCB_NO_MOCK=ON" ]; 15 16 nativeBuildInputs = [ cmake pkg-config ]; 17 buildInputs = [ libevent openssl ]; 18 19 # Running tests in parallel does not work 20 enableParallelChecking = false; 21 22 doCheck = !stdenv.isDarwin; 23 24 meta = with lib; { 25 description = "C client library for Couchbase"; 26 homepage = "https://github.com/couchbase/libcouchbase"; 27 license = licenses.asl20; 28 platforms = platforms.unix; 29 }; 30}