2015-07-25 14:36:28 +01:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, libevent, openssl}:
|
2014-11-06 06:48:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-07-25 14:36:28 +01: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 06:48:13 +00:00
|
|
|
};
|
|
|
|
|
2015-07-25 14:36:28 +01:00
|
|
|
cmakeFlags = "-DLCB_NO_MOCK=ON";
|
2014-11-06 06:48:13 +00:00
|
|
|
|
2015-07-25 14:36:28 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ libevent openssl];
|
2014-11-06 06:48:13 +00:00
|
|
|
|
|
|
|
meta = {
|
2015-04-28 09:54:58 +01:00
|
|
|
description = "C client library for Couchbase";
|
2014-11-06 06:48:13 +00:00
|
|
|
homepage = "https://github.com/couchbase/libcouchbase";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
2015-04-28 09:54:58 +01:00
|
|
|
}
|