nixpkgs-suyu/pkgs/servers/nosql/rethinkdb/default.nix
Austin Seipp bab211893b nixpkgs: rethinkdb 2.0.4 -> 2.1.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-09-15 18:42:12 -05:00

43 lines
1.2 KiB
Nix

{ stdenv, fetchurl, which, m4, python
, protobuf, boost, zlib, curl, openssl, icu, jemalloc
}:
stdenv.mkDerivation rec {
name = "rethinkdb-${version}";
version = "2.1.3";
src = fetchurl {
url = "http://download.rethinkdb.com/dist/${name}.tgz";
sha256 = "03w9fq3wcvwy04b3x6zb3hvwar7b9jfbpq77rmxdlgh5w64vvgwd";
};
preConfigure = ''
export ALLOW_WARNINGS=1
patchShebangs .
'';
configureFlags = [
"--with-jemalloc"
"--lib-path=${jemalloc}/lib"
];
buildInputs = [ protobuf boost zlib curl openssl icu jemalloc ];
nativeBuildInputs = [ which m4 python ];
enableParallelBuilding = true;
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 = stdenv.lib.licenses.agpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice bluescreen303 ];
};
}