mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
6fe7ef4528
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4/bin/cbc help` got 0 exit code - ran `/nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4/bin/cbc version` and found version 2.8.4 - ran `/nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4/bin/cbc-pillowfight --help` got 0 exit code - ran `/nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4/bin/cbc-n1qlback --help` got 0 exit code - ran `/nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4/bin/cbc-n1qlback --help` and found version 2.8.4 - ran `/nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4/bin/cbc-subdoc --help` got 0 exit code - ran `/nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4/bin/cbc-subdoc --help` and found version 2.8.4 - ran `/nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4/bin/cbc-proxy --help` got 0 exit code - ran `/nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4/bin/cbc-proxy --help` and found version 2.8.4 - found 2.8.4 with grep in /nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4 - found 2.8.4 in filename of file in /nix/store/ag3ka0qv88321ih0gdn743p167vqmvdn-libcouchbase-2.8.4
29 lines
690 B
Nix
29 lines
690 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libevent, openssl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libcouchbase-${version}";
|
|
version = "2.8.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "couchbase";
|
|
repo = "libcouchbase";
|
|
rev = version;
|
|
sha256 = "0i5kmv8grsnh2igvlkgjr8lz3h3yrxh82yxbbdsjfpslv61l0gpi";
|
|
};
|
|
|
|
cmakeFlags = "-DLCB_NO_MOCK=ON";
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
buildInputs = [ libevent openssl ];
|
|
|
|
doCheck = true;
|
|
checkPhase = "ctest";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C client library for Couchbase";
|
|
homepage = https://github.com/couchbase/libcouchbase;
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|