55 lines
804 B
Nix
55 lines
804 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, cython
|
|
, numpy
|
|
, scipy
|
|
, matplotlib
|
|
, networkx
|
|
, six
|
|
, pillow
|
|
, pywavelets
|
|
, dask
|
|
, cloudpickle
|
|
, pytest
|
|
, imageio
|
|
, tifffile
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "scikit-image";
|
|
version = "0.17.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "bd954c0588f0f7e81d9763dc95e06950e68247d540476e06cb77bcbcd8c2d8b3";
|
|
};
|
|
|
|
nativeBuildInputs = [ cython ];
|
|
|
|
propagatedBuildInputs = [
|
|
cloudpickle
|
|
dask
|
|
imageio
|
|
matplotlib
|
|
networkx
|
|
numpy
|
|
pillow
|
|
pywavelets
|
|
scipy
|
|
six
|
|
tifffile
|
|
];
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Image processing routines for SciPy";
|
|
homepage = "https://scikit-image.org";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|