2017-08-26 11:48:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, openssl, zlib, python2Packages, readline, cmake, python }:
|
2015-04-30 15:48:57 +01:00
|
|
|
|
2016-11-09 11:07:13 +00:00
|
|
|
let
|
|
|
|
in stdenv.mkDerivation rec {
|
2017-08-26 11:48:23 +01:00
|
|
|
version = "3.2.2";
|
2015-04-30 15:48:57 +01:00
|
|
|
name = "arangodb-${version}";
|
|
|
|
|
2015-05-02 13:37:31 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "arangodb";
|
|
|
|
owner = "arangodb";
|
2017-08-26 11:48:23 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0f87r0fr3i09fnmwjqz6q1lwd5k32a2knrls0nv0zhqrma7sdy01";
|
2015-04-30 15:48:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2017-08-26 13:34:06 +01:00
|
|
|
openssl zlib readline python
|
2015-04-30 15:48:57 +01:00
|
|
|
];
|
|
|
|
|
2017-08-26 11:48:23 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -ie 's!/bin/echo!echo!' 3rdParty/V8/v*/gypfiles/*.gypi
|
|
|
|
'';
|
|
|
|
|
2016-01-24 07:30:05 +00:00
|
|
|
configureFlagsArray = [ "--with-openssl-lib=${openssl.out}/lib" ];
|
2015-04-30 15:48:57 +01:00
|
|
|
|
2016-03-22 00:40:04 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
|
|
|
|
|
2015-04-30 15:48:57 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/arangodb/arangodb;
|
2015-04-30 15:48:57 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|