Skip to content

Commit

Permalink
libcouchbase: 2.5.2 -> 2.7.2
Browse files Browse the repository at this point in the history
fixes #23932
  • Loading branch information
ndowens authored and Mic92 committed Mar 16, 2017
1 parent 3cecb95 commit 00b6d82
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions pkgs/development/libraries/libcouchbase/default.nix
@@ -1,21 +1,28 @@
{ stdenv, fetchurl, cmake, pkgconfig, libevent, openssl}:
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libevent, openssl}:

stdenv.mkDerivation {
name = "libcouchbase-2.5.2";
src = fetchurl {
url = "https://github.com/couchbase/libcouchbase/archive/2.5.2.tar.gz";
sha256 = "0ka1hix38a2kdhxz6n8frssyznf78ra0irga9d8lr5683y73xw24";
stdenv.mkDerivation rec {
name = "libcouchbase-${version}";
version = "2.7.2";

src = fetchFromGitHub {
owner = "couchbase";
repo ="libcouchbase";
rev = version;
sha256 = "1182r9z3cykkgx1vn36l0a50wvh5mr3yj89x0ynyjhfi3iwalrar";
};

cmakeFlags = "-DLCB_NO_MOCK=ON";

nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libevent openssl];
buildInputs = [ libevent openssl ];

doCheck = true;
checkPhase = "ctest";

meta = {
meta = with stdenv.lib; {
description = "C client library for Couchbase";
homepage = "https://github.com/couchbase/libcouchbase";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.unix;
license = licenses.asl20;
platforms = platforms.unix;
};
}

0 comments on commit 00b6d82

Please sign in to comment.