Merge pull request #9074 from michaeladler/couchbase

libcouchbase: use cmake instead of automake
This commit is contained in:
Pascal Wittmann 2015-08-05 15:05:32 +02:00
commit 5fc44305ad

View File

@ -1,23 +1,16 @@
{ stdenv, fetchgit, autoconf, automake, libtool, { stdenv, fetchurl, cmake, pkgconfig, libevent, openssl}:
pkgconfig, perl, git, libevent, openssl}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "libcouchbase-2.4.4"; name = "libcouchbase-2.5.2";
src = fetchgit { src = fetchurl {
url = "https://github.com/couchbase/libcouchbase.git"; url = "https://github.com/couchbase/libcouchbase/archive/2.5.2.tar.gz";
rev = "4410eebcd813844b6cd6f9c7eeb4ab3dfa2ab8ac"; sha256 = "0ka1hix38a2kdhxz6n8frssyznf78ra0irga9d8lr5683y73xw24";
sha256 = "02lzv5l6fvnqr2l9bqfha0pzkzlzjfddn3w5zcbjz36kw4p2p4h9";
leaveDotGit = true;
}; };
preConfigure = '' cmakeFlags = "-DLCB_NO_MOCK=ON";
patchShebangs ./config/
./config/autorun.sh
'';
configureFlags = "--disable-couchbasemock"; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libevent openssl];
buildInputs = [ autoconf automake libtool pkgconfig perl git libevent openssl];
meta = { meta = {
description = "C client library for Couchbase"; description = "C client library for Couchbase";