nixpkgs/pkgs/servers/nosql/rethinkdb/default.nix
aszlig 4c8ec5e12e
v8: Bring back old version 3.14.
The current version of v8 breaks builds of nodejs, mongodb and
rethinkdb. So let's bring back the old package with annoying _3_14
version suffix so hopefully the corresponding maintainers will get rid
of that dependency :-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-04-19 03:58:44 +02:00

37 lines
1 KiB
Nix

{ stdenv, fetchurl, which, protobuf, v8_3_14, ncurses, gperftools, boost, m4 }:
stdenv.mkDerivation rec {
name = "rethinkdb-1.11.2";
src = fetchurl {
url = "http://download.rethinkdb.com/dist/${name}.tgz";
sha256 = "04wz07y891vygc5ksrvkk1ch05xj16nahv20bnxwcllkbl4gf9lj";
};
preConfigure = ''
export ALLOW_WARNINGS=1
patchShebangs .
'';
configureFlags = "--lib-path ${gperftools}/lib";
buildInputs = [ protobuf v8_3_14 ncurses boost ];
nativeBuildInputs = [ which m4 ];
meta = {
description = "An open-source distributed database built with love";
longDescription = ''
RethinkDB is built to store JSON documents, and scale to multiple machines with very little
effort. It has a pleasant query language that supports really useful queries like table joins
and group by, and is easy to setup and learn.
'';
homepage = http://www.rethinkdb.com;
license = "AGPLv3";
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
};
}