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:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user