2022-09-14 18:05:37 +00:00
|
|
|
{ stdenv, callPackage, fetchpatch, lib, sasl, boost, Security, CoreFoundation, cctools }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildMongoDB = callPackage ./mongodb.nix {
|
|
|
|
inherit sasl;
|
|
|
|
inherit boost;
|
|
|
|
inherit Security;
|
|
|
|
inherit CoreFoundation;
|
|
|
|
inherit cctools;
|
|
|
|
};
|
|
|
|
in buildMongoDB {
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "3.6.23";
|
|
|
|
sha256 = "sha256-EJpIerW4zcGJvHfqJ65fG8yNsLRlUnRkvYfC+jkoFJ4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
patches = [ ./forget-build-dependencies.patch ]
|
2022-09-14 18:05:37 +00:00
|
|
|
++ lib.optionals stdenv.isDarwin [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "fix double link of isNamedError.";
|
|
|
|
url = "https://github.com/mongodb/mongo/commit/9c6751b9765d269b667324bb2efe1ca76a916d20.patch";
|
|
|
|
sha256 = "sha256-4mcafqhBh7039ocEI9d/gXWck51X68PqtWtz4dapwwI=";
|
|
|
|
})
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|