1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
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

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;
};
}