forked from mirrors/nixpkgs
c26f440524
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. These checks were done: - built on NixOS - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-cat --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-create --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-observe --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-observe-seqno --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-incr --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-decr --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-mcflush --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-hash --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-lock --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-unlock --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-rm --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-stats --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-version -h’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-version --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-version help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-verbosity --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-view --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-n1ql --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-admin --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-admin help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-ping --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-bucket-create --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-bucket-create help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-bucket-delete --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-bucket-delete help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-bucket-flush --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-connstr --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-connstr help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-write-config --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-write-config help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-strerror --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-touch --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-role-list --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-role-list help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-user-list --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-user-list help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-user-upsert --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-user-delete --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-user-delete help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-watch --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-pillowfight --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-n1qlback --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-subdoc --help’ got 0 exit code - ran ‘/nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6/bin/cbc-proxy --help’ got 0 exit code - found 2.8.6 with grep in /nix/store/bdbh79dlqlynjsj0xvdpk0ardxjh3856-libcouchbase-2.8.6 - directory tree listing: https://gist.github.com/7a5ce11b6bb1930fe5c10a4f96a9ca79
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.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "couchbase";
|
|
repo = "libcouchbase";
|
|
rev = version;
|
|
sha256 = "1in0fdl5mgzhwmd8kvniqkizi7isf2g2gvbknfbbdmxkki7a8p95";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|