forked from mirrors/nixpkgs
3852e136b0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/arangodb/versions.
40 lines
979 B
Nix
40 lines
979 B
Nix
{ stdenv, fetchFromGitHub
|
|
, openssl, zlib, readline, cmake, python }:
|
|
|
|
let
|
|
in stdenv.mkDerivation rec {
|
|
version = "3.3.14";
|
|
name = "arangodb-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "arangodb";
|
|
owner = "arangodb";
|
|
rev = "v${version}";
|
|
sha256 = "00l0mvnyv8y0p13pyxx3hzsnwna9qfq7yjdpisvayipbl7zpvadc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|