From cd90665c656a1c1527ee68284cac09519ab36794 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 1 Jan 2025 23:04:16 +0100 Subject: [PATCH] vcsi: relax python deps, run tests --- pkgs/by-name/vc/vcsi/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/vc/vcsi/package.nix b/pkgs/by-name/vc/vcsi/package.nix index 1e424382c7676..823a932f08f7f 100644 --- a/pkgs/by-name/vc/vcsi/package.nix +++ b/pkgs/by-name/vc/vcsi/package.nix @@ -20,6 +20,10 @@ python3Packages.buildPythonApplication rec { nativeBuildInputs = [ python3Packages.poetry-core ]; + nativeCheckInputs = [ + python3Packages.pytestCheckHook + ]; + propagatedBuildInputs = with python3Packages; [ numpy pillow @@ -28,7 +32,11 @@ python3Packages.buildPythonApplication rec { parsedatetime ]; - doCheck = false; + pythonRelaxDeps = [ + "numpy" + "pillow" + ]; + pythonImportsCheck = [ "vcsi" ]; makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}" ];