7eedac5fc5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libcouchbase/versions
29 lines
703 B
Nix
29 lines
703 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libevent, openssl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libcouchbase-${version}";
|
|
version = "2.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "couchbase";
|
|
repo = "libcouchbase";
|
|
rev = version;
|
|
sha256 = "08bvnd0m18qs5akbblf80l54khm1523fdiiajp7fj88vrs86nbi2";
|
|
};
|
|
|
|
cmakeFlags = "-DLCB_NO_MOCK=ON";
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
buildInputs = [ libevent openssl ];
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
checkPhase = "ctest";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C client library for Couchbase";
|
|
homepage = https://github.com/couchbase/libcouchbase;
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|