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