1 { stdenv, callPackage, lib, fetchpatch, sasl, boost, Security, CoreFoundation, cctools }:
4 buildMongoDB = callPackage ./mongodb.nix {
5 inherit sasl boost Security CoreFoundation cctools stdenv;
10 sha256 = "sha256-BD3XrTdv4sCa3h37o1A2s3/R0R8zHiR59a4pY0RxLGU=";
12 # Patches a bug that it couldn't build MongoDB 6.0 on gcc 13 because a include in ctype.h was missing
13 ./fix-gcc-13-ctype-6_0.patch
16 name = "mongodb-6.1.0-rc-more-specific-cache-alignment-types.patch";
17 url = "https://github.com/mongodb/mongo/commit/5435f9585f857f6145beaf6d31daf336453ba86f.patch";
18 sha256 = "sha256-gWlE2b/NyGe2243iNCXzjcERIY8/4ZWI4Gjh5SF0tYA=";