Skip to content

Commit

Permalink
python3Packages.boxx: fix build
Browse files Browse the repository at this point in the history
- fn dependency is no longer required
- run tests only on Linux because xvfb is not available on other platforms
  • Loading branch information
prusnak committed Feb 14, 2025
1 parent c1e52e7 commit 9d6fdd0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/boxx/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
python,
Expand All @@ -10,7 +11,6 @@
pandas,
imageio,
snakeviz,
fn,
pyopengl,
seaborn,
torch,
Expand All @@ -37,7 +37,6 @@ buildPythonPackage rec {
pandas
imageio
snakeviz
fn
pyopengl
seaborn
];
Expand All @@ -50,6 +49,8 @@ buildPythonPackage rec {

pythonImportsCheck = [ "boxx" ];

doCheck = stdenv.hostPlatform.isLinux;

checkPhase = ''
xvfb-run ${python.interpreter} -m unittest
'';
Expand Down

0 comments on commit 9d6fdd0

Please sign in to comment.