python3Packages.boxx: fix build

- fn dependency is no longer required
- run tests only on Linux because xvfb is not available on other platforms
This commit is contained in:
Pavol Rusnak
2025-02-14 14:58:29 +01:00
parent c1e52e7113
commit 9d6fdd0c17
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
python,
@@ -10,7 +11,6 @@
pandas,
imageio,
snakeviz,
fn,
pyopengl,
seaborn,
torch,
@@ -37,7 +37,6 @@ buildPythonPackage rec {
pandas
imageio
snakeviz
fn
pyopengl
seaborn
];
@@ -50,6 +49,8 @@ buildPythonPackage rec {
pythonImportsCheck = [ "boxx" ];
doCheck = stdenv.hostPlatform.isLinux;
checkPhase = ''
xvfb-run ${python.interpreter} -m unittest
'';