2014-11-06 06:48:13 +00:00
|
|
|
{ stdenv, fetchgit, autoconf, automake, libtool,
|
|
|
|
pkgconfig, perl, git, libevent, openssl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-12-15 06:01:30 +00:00
|
|
|
name = "libcouchbase-2.4.4";
|
2014-11-06 06:48:13 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/couchbase/libcouchbase.git";
|
2014-12-15 06:01:30 +00:00
|
|
|
rev = "4410eebcd813844b6cd6f9c7eeb4ab3dfa2ab8ac";
|
|
|
|
sha256 = "02lzv5l6fvnqr2l9bqfha0pzkzlzjfddn3w5zcbjz36kw4p2p4h9";
|
2014-11-06 06:48:13 +00:00
|
|
|
leaveDotGit = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
2015-01-08 09:26:49 +00:00
|
|
|
patchShebangs ./config/
|
2014-11-06 06:48:13 +00:00
|
|
|
./config/autorun.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = "--disable-couchbasemock";
|
|
|
|
|
|
|
|
buildInputs = [ autoconf automake libtool pkgconfig perl git libevent openssl];
|
|
|
|
|
|
|
|
meta = {
|
2015-04-28 08:54:58 +00: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 08:54:58 +00:00
|
|
|
}
|