tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
arangodb: 2.5.3 -> 3.2.2
Jörg Thalheim
8 years ago
fcfd477c
8c3cc7c7
+12
-13
1 changed file
expand all
collapse all
unified
split
pkgs
servers
nosql
arangodb
default.nix
+12
-13
pkgs/servers/nosql/arangodb/default.nix
···
1
1
-
{ stdenv, fetchFromGitHub, openssl, zlib, python2Packages, bash, go, readline }:
1
1
+
{ stdenv, fetchFromGitHub
2
2
+
, openssl, zlib, python2Packages, readline, cmake, python }:
2
3
3
4
let
4
4
-
inherit (python2Packages) python gyp;
5
5
in stdenv.mkDerivation rec {
6
6
-
version = "2.5.3";
6
6
+
version = "3.2.2";
7
7
name = "arangodb-${version}";
8
8
9
9
src = fetchFromGitHub {
10
10
repo = "arangodb";
11
11
owner = "arangodb";
12
12
-
rev = "67d995aa22ea341129398326fa10c5f6c14e94e9";
13
13
-
sha256 = "1v07fghf2jd2mvkfqhag0xblf6sxw7kx9kmhs2xpyrpns58lirvc";
12
12
+
rev = "v${version}";
13
13
+
sha256 = "0f87r0fr3i09fnmwjqz6q1lwd5k32a2knrls0nv0zhqrma7sdy01";
14
14
};
15
15
16
16
+
buildInputs = [
17
17
+
openssl zlib go readline python
18
18
+
];
19
19
+
20
20
+
nativeBuildInputs = [ cmake ];
21
21
+
16
22
postPatch = ''
17
17
-
substituteInPlace 3rdParty/V8-3.31.74.1/build/gyp/gyp --replace /bin/bash ${bash}/bin/bash
18
18
-
substituteInPlace 3rdParty/etcd/build --replace /bin/bash ${bash}/bin/bash
19
19
-
sed '1i#include <cmath>' -i arangod/Aql/Functions.cpp \
20
20
-
-i lib/Basics/string-buffer.cpp
23
23
+
sed -ie 's!/bin/echo!echo!' 3rdParty/V8/v*/gypfiles/*.gypi
21
24
'';
22
22
-
23
23
-
buildInputs = [
24
24
-
openssl zlib python gyp go readline
25
25
-
];
26
25
27
26
configureFlagsArray = [ "--with-openssl-lib=${openssl.out}/lib" ];
28
27