python3Packages.boxx: remove tests (#382063)

This commit is contained in:
Pavol Rusnak
2025-02-14 15:18:50 +01:00
committed by GitHub
2 changed files with 6 additions and 27 deletions
@@ -1,21 +1,15 @@
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
python,
xvfb-run,
imageio,
matplotlib,
scikit-image,
numpy,
pandas,
imageio,
snakeviz,
pyopengl,
scikit-image,
seaborn,
torch,
pythonOlder,
torchvision,
snakeviz,
}:
buildPythonPackage rec {
@@ -23,38 +17,24 @@ buildPythonPackage rec {
version = "0.10.14";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-unGnmPksEuqFXHTWJkj9Gv2G/qPDgT6AZXYiG2gtkEA=";
};
propagatedBuildInputs = [
imageio
matplotlib
scikit-image
numpy
pandas
imageio
snakeviz
pyopengl
scikit-image
seaborn
];
nativeCheckInputs = [
xvfb-run
torch
torchvision
snakeviz
];
pythonImportsCheck = [ "boxx" ];
doCheck = stdenv.hostPlatform.isLinux;
checkPhase = ''
xvfb-run ${python.interpreter} -m unittest
'';
meta = with lib; {
description = "Tool-box for efficient build and debug for Scientific Computing and Computer Vision";
homepage = "https://github.com/DIYer22/boxx";
@@ -57,7 +57,6 @@ buildPythonPackage rec {
homepage = "https://github.com/DIYer22/bpycv";
license = licenses.mit;
maintainers = [ maintainers.lucasew ];
broken = stdenv.hostPlatform.isAarch64;
inherit (blender.meta) platforms;
};
}