summary refs log tree commit diff
path: root/pkgs/servers/nosql/rethinkdb
diff options
context:
space:
mode:
authorMathijs Kwik <mathijs@bluescreen303.nl>2013-11-08 23:45:57 +0100
committerMathijs Kwik <mathijs@bluescreen303.nl>2013-12-23 10:21:20 +0100
commite2e923644fef2a419818a9f52095044fa4603fea (patch)
treeeb273b51403ddfea756bf8f58c21c5823b230fcf /pkgs/servers/nosql/rethinkdb
parentc693d2e7fa05889bb3d0954e5ae3fc8be41fcd10 (diff)
downloadnixpkgs-e2e923644fef2a419818a9f52095044fa4603fea.tar
nixpkgs-e2e923644fef2a419818a9f52095044fa4603fea.tar.gz
nixpkgs-e2e923644fef2a419818a9f52095044fa4603fea.tar.bz2
nixpkgs-e2e923644fef2a419818a9f52095044fa4603fea.tar.lz
nixpkgs-e2e923644fef2a419818a9f52095044fa4603fea.tar.xz
nixpkgs-e2e923644fef2a419818a9f52095044fa4603fea.tar.zst
nixpkgs-e2e923644fef2a419818a9f52095044fa4603fea.zip
add rethinkdb
Diffstat (limited to 'pkgs/servers/nosql/rethinkdb')
-rw-r--r--pkgs/servers/nosql/rethinkdb/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/servers/nosql/rethinkdb/default.nix b/pkgs/servers/nosql/rethinkdb/default.nix
new file mode 100644
index 00000000000..9231310abd8
--- /dev/null
+++ b/pkgs/servers/nosql/rethinkdb/default.nix
@@ -0,0 +1,35 @@
+{ stdenv, fetchurl, which, protobuf, v8, ncurses, gperftools, boost, m4 }:
+
+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
+  '';
+
+  configureFlags = "--lib-path ${gperftools}/lib";
+
+  buildInputs = [ protobuf v8 ncurses boost ];
+
+  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;
+  };
+}