2023-04-12 12:48:02 +00:00
|
|
|
{ stdenv, callPackage, lib, fetchpatch, sasl, boost, Security, CoreFoundation, cctools }:
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildMongoDB = callPackage ./mongodb.nix {
|
|
|
|
inherit sasl boost Security CoreFoundation cctools;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildMongoDB {
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "4.4.25";
|
|
|
|
sha256 = "sha256-oE5bs9M0E43e+8tmZaRkA/GtbKG5uZ+3Pf0sJiddTJk=";
|
2022-04-15 01:41:22 +00:00
|
|
|
patches = [
|
|
|
|
./forget-build-dependencies-4-4.patch
|
2022-09-14 18:05:37 +00:00
|
|
|
./fix-build-with-boost-1.79-4_4.patch
|
2023-04-12 12:48:02 +00:00
|
|
|
(fetchpatch {
|
|
|
|
name = "mongodb-4.4.15-adjust-the-cache-alignment-assumptions.patch";
|
|
|
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/mongodb-4.4.15-adjust-cache-alignment-assumptions.patch.arm64?h=mongodb44";
|
|
|
|
sha256 = "Ah4zdSFgXUJ/HSN8VRLJqDpNy3CjMCBnRqlpALXzx+g=";
|
|
|
|
})
|
2022-04-15 01:41:22 +00:00
|
|
|
] ++ lib.optionals stdenv.isDarwin [ ./asio-no-experimental-string-view-4-4.patch ];
|
|
|
|
}
|