2022-01-13 20:06:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
, xvfb-run
|
|
|
|
, matplotlib
|
|
|
|
, scikitimage
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, imageio
|
|
|
|
, snakeviz
|
|
|
|
, fn
|
|
|
|
, pyopengl
|
|
|
|
, seaborn
|
|
|
|
, pytorch
|
2022-04-27 09:35:20 +00:00
|
|
|
, pythonOlder
|
2022-01-13 20:06:32 +00:00
|
|
|
, torchvision
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "boxx";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "0.10.5";
|
2022-04-27 09:35:20 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2022-01-13 20:06:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-07-14 12:49:19 +00:00
|
|
|
hash = "sha256-6qO/aPegHk+1PAu8qzIkC3fULh2WjgJcqNui+XEaLQw=";
|
2022-01-13 20:06:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
matplotlib
|
|
|
|
scikitimage
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
imageio
|
|
|
|
snakeviz
|
|
|
|
fn
|
|
|
|
pyopengl
|
|
|
|
seaborn
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
xvfb-run
|
|
|
|
pytorch
|
|
|
|
torchvision
|
|
|
|
];
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"boxx"
|
|
|
|
];
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
checkPhase = ''
|
|
|
|
xvfb-run ${python.interpreter} -m unittest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-04-27 09:35:20 +00:00
|
|
|
description = "Tool-box for efficient build and debug for Scientific Computing and Computer Vision";
|
2022-01-13 20:06:32 +00:00
|
|
|
homepage = "https://github.com/DIYer22/boxx";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lucasew ];
|
|
|
|
};
|
|
|
|
}
|