nixpkgs/pkgs/servers/nosql/rethinkdb/default.nix
William A. Kennington III aa3e800be7 boost: Remove boost.lib
2014-11-02 17:22:27 -08:00

36 lines
1.0 KiB
Nix

{ stdenv, fetchurl, which, protobuf, gperftools, boost, zlib, curl, python, m4 }:
stdenv.mkDerivation rec {
name = "rethinkdb-1.14.1";
src = fetchurl {
url = "http://download.rethinkdb.com/dist/${name}.tgz";
sha256 = "0brsbb289hcsmipma4rsgrkqpqagwff2y6w46dvb25n95id65hx8";
};
preConfigure = ''
export ALLOW_WARNINGS=1
patchShebangs .
'';
configureFlags = "--lib-path ${gperftools}/lib";
buildInputs = [ protobuf boost zlib curl ];
nativeBuildInputs = [ which m4 python ];
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;
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
};
}