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

38 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, which, protobuf, gperftools
, boost, zlib, curl, python, m4, icu, jemalloc }:
2013-11-08 22:45:57 +00:00
stdenv.mkDerivation rec {
name = "rethinkdb-${version}";
2015-06-15 03:00:21 +00:00
version = "2.0.3";
2013-11-08 22:45:57 +00:00
src = fetchurl {
url = "http://download.rethinkdb.com/dist/${name}.tgz";
2015-06-15 03:00:21 +00:00
sha256 = "1580h5clkw8kprdb9waaf8al3wa2vj5d2l2m394r91fq45ss23sd";
2013-11-08 22:45:57 +00:00
};
preConfigure = ''
export ALLOW_WARNINGS=1
patchShebangs .
2013-11-08 22:45:57 +00:00
'';
configureFlags = "--lib-path ${gperftools}/lib --lib-path ${jemalloc}/lib";
2013-11-08 22:45:57 +00:00
buildInputs = [ protobuf boost zlib curl icu jemalloc ];
2013-11-08 22:45:57 +00:00
2014-04-26 18:15:28 +00:00
nativeBuildInputs = [ which m4 python ];
2013-11-08 22:45:57 +00: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 22:45:57 +00:00
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
};
}