11 buildPythonPackage rec {
14 format = "setuptools";
16 # use the removed ssl.wrap_socket function
17 disabled = pythonOlder "3.9" || pythonAtLeast "3.12";
20 inherit pname version;
21 hash = "sha256-020OW2RF/5FB400BL6K13+WJhHqh4+y413QHSWKvlE4=";
24 propagatedBuildInputs = [ pymongo ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "mockupdb" ];
31 # AssertionError: expected to receive Request(), got nothing
36 "test_unix_domain_socket"
40 description = "Simulate a MongoDB server";
41 license = licenses.asl20;
42 homepage = "https://github.com/ajdavis/mongo-mockup-db";
43 maintainers = with maintainers; [ globin ];