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

40 lines
995 B
Nix
Raw Normal View History

2017-08-26 12:48:23 +02:00
{ stdenv, fetchFromGitHub
, openssl, zlib, python2Packages, readline, cmake, python }:
2015-04-30 16:48:57 +02:00
2016-11-09 12:07:13 +01:00
let
in stdenv.mkDerivation rec {
2017-09-16 23:53:29 +02:00
version = "3.2.3";
2015-04-30 16:48:57 +02:00
name = "arangodb-${version}";
2015-05-02 14:37:31 +02:00
src = fetchFromGitHub {
repo = "arangodb";
owner = "arangodb";
2017-08-26 12:48:23 +02:00
rev = "v${version}";
2017-09-16 23:53:29 +02:00
sha256 = "1ndd7wxw2lz1ywnz3kp0pz1jmby2jakhl00kn8jwghcbipvnx9b5";
2015-04-30 16:48:57 +02:00
};
buildInputs = [
2017-08-26 14:34:06 +02:00
openssl zlib readline python
2015-04-30 16:48:57 +02:00
];
2017-08-26 12:48:23 +02: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 16:48:57 +02:00
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
2015-04-30 16:48:57 +02:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://github.com/arangodb/arangodb;
2015-04-30 16:48:57 +02: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 ];
};
}