python3Packages.maxminddb: fix build on Darwin

The multiprocessing tests don’t work on Darwin presumably because it
uses the spawn start method instead of fork. Disable those tests to
allow maxminddb to build on Darwin again.

+4
+4
pkgs/development/python-modules/maxminddb/default.nix
··· 31 "maxminddb" 32 ]; 33 34 meta = with lib; { 35 description = "Reader for the MaxMind DB format"; 36 homepage = "https://github.com/maxmind/MaxMind-DB-Reader-python";
··· 31 "maxminddb" 32 ]; 33 34 + # The multiprocessing tests fail on Darwin because multiprocessing uses spawn instead of fork, 35 + # resulting in an exception when it can’t pickle the `lookup` local function. 36 + disabledTests = lib.optionals stdenv.isDarwin [ "multiprocessing" ]; 37 + 38 meta = with lib; { 39 description = "Reader for the MaxMind DB format"; 40 homepage = "https://github.com/maxmind/MaxMind-DB-Reader-python";