1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

libcouchbase: new package

This commit is contained in:
stewart 2014-11-06 14:48:13 +08:00
parent 6e8a9b8145
commit 787d0b1c63
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchgit, autoconf, automake, libtool,
pkgconfig, perl, git, libevent, openssl}:
stdenv.mkDerivation {
name = "libcouchbase-2.4.1";
src = fetchgit {
url = "https://github.com/couchbase/libcouchbase.git";
rev = "bd3a20f9e18a69dca199134956fd4ad3e1b80ca8";
sha256 = "0gimvfxvbmhm6zy4vgs2630ygilhryxl8apfmv3iqs23pafwzm8r";
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;
};
}

View file

@ -5625,6 +5625,8 @@ let
libctemplate = callPackage ../development/libraries/libctemplate { };
libcouchbase = callPackage ../development/libraries/libcouchbase { };
libcue = callPackage ../development/libraries/libcue { };
libdaemon = callPackage ../development/libraries/libdaemon { };