mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
28 lines
799 B
Nix
28 lines
799 B
Nix
{ stdenv, fetchgit, autoconf, automake, libtool,
|
|
pkgconfig, perl, git, libevent, openssl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libcouchbase-2.4.4";
|
|
src = fetchgit {
|
|
url = "https://github.com/couchbase/libcouchbase.git";
|
|
rev = "4410eebcd813844b6cd6f9c7eeb4ab3dfa2ab8ac";
|
|
sha256 = "02lzv5l6fvnqr2l9bqfha0pzkzlzjfddn3w5zcbjz36kw4p2p4h9";
|
|
leaveDotGit = true;
|
|
};
|
|
|
|
preConfigure = ''
|
|
patchShebangs ./config/
|
|
./config/autorun.sh
|
|
'';
|
|
|
|
configureFlags = "--disable-couchbasemock";
|
|
|
|
buildInputs = [ autoconf automake libtool pkgconfig perl git 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;
|
|
};
|
|
} |