c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
30 lines
919 B
Nix
30 lines
919 B
Nix
{ 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=";
|
|
})
|
|
];
|
|
};
|
|
}
|