From 97249804a6563737c3eed9dafb642e3d011188e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 5 Sep 2026 18:29:11 +0200 Subject: [PATCH] python3Packages.vodozemac: execute tests --- .../development/python-modules/vodozemac/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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";