nixpkgs/pkgs/servers/nosql/rethinkdb/default.nix

35 lines
1 KiB
Nix
Raw Normal View History

2014-09-19 19:56:08 +02:00
{ stdenv, fetchurl, which, protobuf, gperftools, boost, zlib, curl, python, m4 }:
2013-11-08 23:45:57 +01:00
stdenv.mkDerivation rec {
2014-11-26 14:26:47 +01:00
name = "rethinkdb-1.15.2";
2013-11-08 23:45:57 +01:00
src = fetchurl {
url = "http://download.rethinkdb.com/dist/${name}.tgz";
2014-11-26 14:26:47 +01:00
sha256 = "1fpx9apqm62i332q2isanpdql8gwwab4qxwzrspqwgcka9zd6gy3";
2013-11-08 23:45:57 +01:00
};
preConfigure = ''
export ALLOW_WARNINGS=1
'';
configureFlags = "--lib-path ${gperftools}/lib";
2014-10-01 21:55:40 +02:00
buildInputs = [ protobuf boost zlib curl ];
2013-11-08 23:45:57 +01:00
2014-04-26 20:15:28 +02:00
nativeBuildInputs = [ which m4 python ];
2013-11-08 23:45:57 +01:00
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;
2013-11-08 23:45:57 +01:00
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
};
}