nixpkgs/pkgs/development/libraries/libcouchbase/default.nix
Michael Adler 3768bdf227 libcouchbase: 2.4.4 -> 2.5.2, refactor to use cmake
Building libcouchbase with automake is deprecated, thus use
cmake instead. This has the advantage that the package-config
file is installed as well.
2015-08-05 15:03:22 +02:00

21 lines
613 B
Nix

{ stdenv, fetchurl, 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";
};
cmakeFlags = "-DLCB_NO_MOCK=ON";
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libevent openssl];
meta = {
description = "C client library for Couchbase";
homepage = "https://github.com/couchbase/libcouchbase";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.unix;
};
}