From 2729ee5d23e8dafb6915dea4b5b05b4da02a4047 Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 5 Jul 2024 13:47:51 +0900 Subject: [PATCH] python311Packages.iodata: enable check phase --- pkgs/development/python-modules/iodata/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/iodata/default.nix b/pkgs/development/python-modules/iodata/default.nix index 6d54abb26e09..e412d4fcbd89 100644 --- a/pkgs/development/python-modules/iodata/default.nix +++ b/pkgs/development/python-modules/iodata/default.nix @@ -7,6 +7,8 @@ numpy, scipy, attrs, + pytest-xdist, + pytestCheckHook, }: buildPythonPackage rec { @@ -33,7 +35,11 @@ buildPythonPackage rec { ]; pythonImportsCheck = [ "iodata" ]; - doCheck = false; # Requires roberto or nose and a lenghtly setup to find the cython modules + + nativeCheckInputs = [ + pytest-xdist + pytestCheckHook + ]; meta = with lib; { description = "Python library for reading, writing, and converting computational chemistry file formats and generating input files";