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