nixpkgs/pkgs/servers/nosql/arangodb/default.nix

40 lines
979 B
Nix
Raw Normal View History

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