forked from mirrors/nixpkgs
dbd0f3e957
Not strictly an upgrade, but adds a new mongodb-4_2 target with the current mongodb from that branch. Use matching client and server versions in mongodb tests- tests were using the mongo 3.4 client to connect, and this finally doesn't work with server 4.2. Per reviewer suggestion, adding myself as cheetah3 maintainer. Additionally, reestore comments describing the purpose of the build-dependencies patch
18 lines
501 B
Nix
18 lines
501 B
Nix
{ stdenv, callPackage, lib, sasl, boost, Security, CoreFoundation, cctools }:
|
|
|
|
let
|
|
buildMongoDB = callPackage ./mongodb.nix {
|
|
inherit sasl;
|
|
inherit boost;
|
|
inherit Security;
|
|
inherit CoreFoundation;
|
|
inherit cctools;
|
|
};
|
|
in buildMongoDB {
|
|
version = "4.2.8";
|
|
sha256 = "13yvhi1258skdni00bh6ph609whqsmhiimhyqy1gs2liwdvh5278";
|
|
patches =
|
|
[ ./forget-build-dependencies-4-2.patch ]
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ ./asio-no-experimental-string-view-4-2.patch ];
|
|
}
|