9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
33 lines
826 B
Nix
33 lines
826 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkg-config, libevent, openssl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libcouchbase";
|
|
version = "2.10.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "couchbase";
|
|
repo = "libcouchbase";
|
|
rev = version;
|
|
sha256 = "1yfmcx65aqd5l87scha6kmm2s38n85ci3gg0h6qfs16s3jfi6bw7";
|
|
};
|
|
|
|
cmakeFlags = [ "-DLCB_NO_MOCK=ON" ];
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
buildInputs = [ libevent openssl ];
|
|
|
|
# Running tests in parallel does not work
|
|
enableParallelChecking = false;
|
|
|
|
patches = [ ./0001-Fix-timeouts-in-libcouchbase-testsuite.patch ];
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C client library for Couchbase";
|
|
homepage = "https://github.com/couchbase/libcouchbase";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|