python312Packages.llm-gguf: init at 0.2 (#364926)
[NixPkgs.git] / pkgs / servers / nosql / mongodb / 6.0.nix
blob20adcf8b024c60a60c209fe736b6e1dcc101ba88
2   stdenv,
3   callPackage,
4   fetchpatch,
5   sasl,
6   boost,
7   Security,
8   CoreFoundation,
9   cctools,
10   avxSupport ? stdenv.hostPlatform.avxSupport,
13 let
14   buildMongoDB = callPackage ./mongodb.nix {
15     inherit
16       sasl
17       boost
18       Security
19       CoreFoundation
20       cctools
21       stdenv
22       ;
23   };
25 buildMongoDB {
26   inherit avxSupport;
27   version = "6.0.19";
28   sha256 = "sha256-qcf+6hMg0LASeOoZJPoRCQ9ajCJBqSsBDg2Wp+2SMKY=";
29   patches = [
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
33     (fetchpatch {
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=";
37     })
39     # Fix building with python 3.12 since the imp module was removed
40     ./mongodb-python312.patch
41   ];
42   # passthru.tests = { inherit (nixosTests) mongodb; }; # currently tests mongodb-7_0