diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/nosql/arangodb/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/nosql/arangodb/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/nosql/arangodb/default.nix b/nixpkgs/pkgs/servers/nosql/arangodb/default.nix new file mode 100644 index 000000000000..12684eab551a --- /dev/null +++ b/nixpkgs/pkgs/servers/nosql/arangodb/default.nix @@ -0,0 +1,39 @@ +{ stdenv, fetchFromGitHub +, openssl, zlib, readline, cmake, python }: + +let +in stdenv.mkDerivation rec { + version = "3.3.19"; + name = "arangodb-${version}"; + + src = fetchFromGitHub { + repo = "arangodb"; + owner = "arangodb"; + rev = "v${version}"; + sha256 = "1qg4lqnn5x0xsmkq41mjj301mfh76r8ys1rkzhinxlq30jld3155"; + }; + + buildInputs = [ + openssl zlib readline python + ]; + + nativeBuildInputs = [ cmake ]; + + postPatch = '' + sed -ie 's!/bin/echo!echo!' 3rdParty/V8/v*/gypfiles/*.gypi + ''; + + configureFlagsArray = [ "--with-openssl-lib=${openssl.out}/lib" ]; + + NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow"; + + 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 ]; + }; +} |