diff options
author | stewart <stewart@chaatz.com> | 2014-11-06 14:48:13 +0800 |
---|---|---|
committer | stewart <stewart@chaatz.com> | 2014-11-07 05:18:19 +0000 |
commit | 787d0b1c63fe78062e070e3b19505dfcbfeaf4b7 (patch) | |
tree | 7956bf047858bd4c30bb7012055787b83ec1b0dc /pkgs/development/libraries/libcouchbase | |
parent | 6e8a9b81459a56d0613cd036a7abf9de38186dc4 (diff) |
libcouchbase: new package
Diffstat (limited to 'pkgs/development/libraries/libcouchbase')
-rw-r--r-- | pkgs/development/libraries/libcouchbase/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libcouchbase/default.nix b/pkgs/development/libraries/libcouchbase/default.nix new file mode 100644 index 0000000000000..a29107c38967e --- /dev/null +++ b/pkgs/development/libraries/libcouchbase/default.nix @@ -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; + + }; +} \ No newline at end of file |