diff --git a/pkgs/development/python-modules/vodozemac/default.nix b/pkgs/development/python-modules/vodozemac/default.nix index c66213e8e731..d50225b6f73b 100644 --- a/pkgs/development/python-modules/vodozemac/default.nix +++ b/pkgs/development/python-modules/vodozemac/default.nix @@ -1,7 +1,9 @@ { buildPythonPackage, fetchFromGitHub, + hypothesis, lib, + pytestCheckHook, rustPlatform, }: @@ -27,6 +29,16 @@ buildPythonPackage (finalAttrs: { rustPlatform.cargoSetupHook ]; + preCheck = '' + # do not shadow imports + rm -r vodozemac + ''; + + nativeCheckInputs = [ + hypothesis + pytestCheckHook + ]; + meta = { description = "Python bindings for vodozemac"; homepage = "https://github.com/matrix-nio/vodozemac-python";