2015-07-25 15:36:28 +02:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, libevent, openssl}:
|
2014-11-06 07:48:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-07-25 15:36:28 +02:00
|
|
|
name = "libcouchbase-2.5.2";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/couchbase/libcouchbase/archive/2.5.2.tar.gz";
|
|
|
|
sha256 = "0ka1hix38a2kdhxz6n8frssyznf78ra0irga9d8lr5683y73xw24";
|
2014-11-06 07:48:13 +01:00
|
|
|
};
|
|
|
|
|
2015-07-25 15:36:28 +02:00
|
|
|
cmakeFlags = "-DLCB_NO_MOCK=ON";
|
2014-11-06 07:48:13 +01:00
|
|
|
|
2015-07-25 15:36:28 +02:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ libevent openssl];
|
2014-11-06 07:48:13 +01:00
|
|
|
|
|
|
|
meta = {
|
2015-04-28 10:54:58 +02:00
|
|
|
description = "C client library for Couchbase";
|
2014-11-06 07:48:13 +01:00
|
|
|
homepage = "https://github.com/couchbase/libcouchbase";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
2015-04-28 10:54:58 +02:00
|
|
|
}
|