rethinkdb: 2.3.4 -> 2.3.5

This commit is contained in:
rushmorem
2016-08-31 15:15:08 +02:00
parent 5d61c42d6b
commit ac26d8ff43
2 changed files with 27 additions and 3 deletions
+9 -3
View File
@@ -1,14 +1,15 @@
{ stdenv, fetchurl, which, m4, python
, protobuf, boost, zlib, curl, openssl, icu, jemalloc, libtool
, pythonPackages, makeWrapper
}:
stdenv.mkDerivation rec {
name = "rethinkdb-${version}";
version = "2.3.4";
version = "2.3.5";
src = fetchurl {
url = "https://download.rethinkdb.com/dist/${name}.tgz";
sha256 = "19z1m4r1mqnbia207q0nvs39rn7jk8zsr2rvps2d11fp3ryr59wk";
sha256 = "047fz3r0rn95mqr5p1xfdprf0hq4avq2a1q8zsdifxxid7hyx2nx";
};
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
@@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
"--lib-path=${jemalloc}/lib"
];
buildInputs = [ protobuf boost zlib curl openssl icu ]
buildInputs = [ protobuf boost zlib curl openssl icu makeWrapper ]
++ stdenv.lib.optional (!stdenv.isDarwin) jemalloc
++ stdenv.lib.optional stdenv.isDarwin libtool;
@@ -36,6 +37,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''
wrapProgram $out/bin/rethinkdb \
--prefix PATH ":" "${pythonPackages.rethinkdb}/bin"
'';
meta = {
description = "An open-source distributed database built with love";
longDescription = ''