pkgs: added ArangoDB 2.5.2

This commit is contained in:
Markus Kohlhase 2015-04-30 16:48:57 +02:00
parent 934d3c19fd
commit 4b0a59b3fe
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchgit, openssl, zlib, python, gyp, bash, go, readline }:
stdenv.mkDerivation rec {
version = "2.5.2";
name = "arangodb-${version}";
src = fetchgit {
url = https://github.com/arangodb/arangodb.git;
rev = "refs/tags/v${version}";
sha256 = "04l9palmh0jwbylapsss7d1s0h54wb6kng30zqsl3dq9l91ii6s0";
};
buildInputs = [
openssl zlib python gyp go readline
];
configureFlagsArray = [ "--with-openssl-lib=${openssl}/lib" ];
patchPhase = ''
substituteInPlace 3rdParty/V8-3.31.74.1/build/gyp/gyp --replace /bin/bash ${bash}/bin/bash
substituteInPlace 3rdParty/etcd/build --replace /bin/bash ${bash}/bin/bash
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = "https://github.com/arangodb/arangodb";
description = "A native multi-model database with flexible data models for documents, graphs, and key-values";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.flosse ];
};
}

View File

@ -544,6 +544,10 @@ let
arandr = callPackage ../tools/X11/arandr { }; arandr = callPackage ../tools/X11/arandr { };
arangodb = callPackage ../servers/nosql/arangodb {
inherit (pythonPackages) gyp;
};
arcanist = callPackage ../development/tools/misc/arcanist {}; arcanist = callPackage ../development/tools/misc/arcanist {};
arduino = arduino-core.override { withGui = true; }; arduino = arduino-core.override { withGui = true; };