2014-03-24 13:45:21 +01:00
|
|
|
{ stdenv, fetchurl, which, protobuf, v8_3_14, ncurses, gperftools, boost, m4 }:
|
2013-11-08 23:45:57 +01:00
|
|
|
|
|
|
|
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
|
2013-12-23 11:59:46 +01:00
|
|
|
patchShebangs .
|
2013-11-08 23:45:57 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = "--lib-path ${gperftools}/lib";
|
|
|
|
|
2014-03-24 13:45:21 +01:00
|
|
|
buildInputs = [ protobuf v8_3_14 ncurses boost ];
|
2013-11-08 23:45:57 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|