mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
3768bdf227
Building libcouchbase with automake is deprecated, thus use cmake instead. This has the advantage that the package-config file is installed as well.
22 lines
613 B
Nix
22 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;
|
|
};
|
|
}
|