1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ gccStdenv, llvmPackages
, lib, fetchFromGitHub, fetchpatch
, cmake, ninja, python3, openjdk8, mono, openssl, boost178
, pkg-config, msgpack-cxx, toml11
}@args:
let
cmakeBuild = import ./cmake.nix args;
in {
foundationdb71 = cmakeBuild {
version = "7.1.32";
hash = "sha256-CNJ4w1ECadj2KtcfbBPBQpXQeq9BAiw54hUgRTWPFzY=";
boost = boost178;
ssl = openssl;
patches = [
./patches/disable-flowbench.patch
./patches/don-t-run-tests-requiring-doctest.patch
./patches/don-t-use-static-boost-libs.patch
./patches/fix-open-with-O_CREAT.patch
# GetMsgpack: add 4+ versions of upstream
# https://github.com/apple/foundationdb/pull/10935
(fetchpatch {
url = "https://github.com/apple/foundationdb/commit/c35a23d3f6b65698c3b888d76de2d93a725bff9c.patch";
hash = "sha256-bneRoZvCzJp0Hp/G0SzAyUyuDrWErSpzv+ickZQJR5w=";
})
];
};
}
|