mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
31 lines
919 B
Nix
31 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=";
|
|
})
|
|
];
|
|
};
|
|
}
|