libcouchbase: 2.5.2 -> 2.7.2

fixes #23932
This commit is contained in:
ndowens 2017-03-15 15:40:47 -05:00 committed by Jörg Thalheim
parent 3cecb95a9d
commit 00b6d82001
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -1,10 +1,14 @@
{ stdenv, fetchurl, cmake, pkgconfig, libevent, openssl}: { stdenv, fetchFromGitHub, cmake, pkgconfig, libevent, openssl}:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "libcouchbase-2.5.2"; name = "libcouchbase-${version}";
src = fetchurl { version = "2.7.2";
url = "https://github.com/couchbase/libcouchbase/archive/2.5.2.tar.gz";
sha256 = "0ka1hix38a2kdhxz6n8frssyznf78ra0irga9d8lr5683y73xw24"; src = fetchFromGitHub {
owner = "couchbase";
repo ="libcouchbase";
rev = version;
sha256 = "1182r9z3cykkgx1vn36l0a50wvh5mr3yj89x0ynyjhfi3iwalrar";
}; };
cmakeFlags = "-DLCB_NO_MOCK=ON"; cmakeFlags = "-DLCB_NO_MOCK=ON";
@ -12,10 +16,13 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libevent openssl ]; buildInputs = [ libevent openssl ];
meta = { doCheck = true;
checkPhase = "ctest";
meta = with stdenv.lib; {
description = "C client library for Couchbase"; description = "C client library for Couchbase";
homepage = "https://github.com/couchbase/libcouchbase"; homepage = "https://github.com/couchbase/libcouchbase";
license = stdenv.lib.licenses.asl20; license = licenses.asl20;
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
}; };
} }