10 avxSupport ? stdenv.hostPlatform.avxSupport,
14 buildMongoDB = callPackage ./mongodb.nix {
28 sha256 = "sha256-qcf+6hMg0LASeOoZJPoRCQ9ajCJBqSsBDg2Wp+2SMKY=";
30 # Patches a bug that it couldn't build MongoDB 6.0 on gcc 13 because a include in ctype.h was missing
31 ./fix-gcc-13-ctype-6_0.patch
34 name = "mongodb-6.1.0-rc-more-specific-cache-alignment-types.patch";
35 url = "https://github.com/mongodb/mongo/commit/5435f9585f857f6145beaf6d31daf336453ba86f.patch";
36 sha256 = "sha256-gWlE2b/NyGe2243iNCXzjcERIY8/4ZWI4Gjh5SF0tYA=";
39 # Fix building with python 3.12 since the imp module was removed
40 ./mongodb-python312.patch
42 # passthru.tests = { inherit (nixosTests) mongodb; }; # currently tests mongodb-7_0