2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-09-13 21:41:13 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, slicerator
|
|
|
|
, scikitimage
|
|
|
|
, six
|
|
|
|
, numpy
|
|
|
|
, tifffile
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-08-16 18:31:10 +01:00
|
|
|
version = "0.5";
|
2018-09-13 21:41:13 +01:00
|
|
|
pname = "PIMS";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:10 +01:00
|
|
|
sha256 = "a02cdcbb153e2792042fb0bae7df4f30878bbba1f2d176114a87ee0dc18715a0";
|
2018-09-13 21:41:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ slicerator six numpy tifffile scikitimage ];
|
|
|
|
|
|
|
|
# not everything packaged with pypi release
|
|
|
|
doCheck = false;
|
2021-02-16 00:26:54 +00:00
|
|
|
pythonImportsCheck = [ "pims" ];
|
2018-09-13 21:41:13 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/soft-matter/pims";
|
2018-09-13 21:41:13 +01:00
|
|
|
description = "Python Image Sequence: Load video and sequential images in many formats with a simple, consistent interface";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|