From dcd2c2674e3480503210c0ab28bac6634c4ea79e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Jun 2026 14:57:42 +0200 Subject: [PATCH] python3Packages.parsnip: enable tests --- .../python-modules/parsnip/default.nix | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/development/python-modules/parsnip/default.nix b/pkgs/development/python-modules/parsnip/default.nix index bcbebaa0e6e2..daaa23db5702 100644 --- a/pkgs/development/python-modules/parsnip/default.nix +++ b/pkgs/development/python-modules/parsnip/default.nix @@ -5,6 +5,12 @@ setuptools, more-itertools, numpy, + ase, + gemmi, + pycifrw, + pytest-doctestplus, + pytestCheckHook, + sympy, }: buildPythonPackage (finalAttrs: { @@ -30,10 +36,24 @@ buildPythonPackage (finalAttrs: { numpy ]; + nativeCheckInputs = [ + ase + gemmi + pycifrw + pytest-doctestplus + pytestCheckHook + sympy + ]; + pythonImportsCheck = [ "parsnip" ]; + disabledTestPaths = [ + # Don't test docs + "doc/source/" + ]; + meta = { description = "Lightweight, performant library for parsing CIF files in Python"; homepage = "https://github.com/glotzerlab/parsnip";