depot/third_party/nixpkgs/pkgs/development/python-modules/boxx/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

57 lines
962 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
, xvfb-run
, matplotlib
, scikitimage
, numpy
, pandas
, imageio
, snakeviz
, fn
, pyopengl
, seaborn
, pytorch
, torchvision
}:
buildPythonPackage rec {
pname = "boxx";
version = "0.9.9";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Mc6R6ruUVhFs2D0CTJsAiM9aGOusS973hRS5r2kQsy4=";
};
propagatedBuildInputs = [
matplotlib
scikitimage
numpy
pandas
imageio
snakeviz
fn
pyopengl
seaborn
];
pythonImportsCheck = [ "boxx" ];
checkInputs = [
xvfb-run
pytorch
torchvision
];
checkPhase = ''
xvfb-run ${python.interpreter} -m unittest
'';
meta = with lib; {
description = "Tool-box for efficient build and debug in Python. Especially for Scientific Computing and Computer Vision.";
homepage = "https://github.com/DIYer22/boxx";
license = licenses.mit;
maintainers = with maintainers; [ lucasew ];
};
}