2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, slicerator
|
|
|
|
, scikitimage
|
|
|
|
, six
|
|
|
|
, numpy
|
|
|
|
, tifffile
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "0.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "PIMS";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "a02cdcbb153e2792042fb0bae7df4f30878bbba1f2d176114a87ee0dc18715a0";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ slicerator six numpy tifffile scikitimage ];
|
|
|
|
|
|
|
|
# not everything packaged with pypi release
|
|
|
|
doCheck = false;
|
2021-02-17 17:02:09 +00:00
|
|
|
pythonImportsCheck = [ "pims" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/soft-matter/pims";
|
|
|
|
description = "Python Image Sequence: Load video and sequential images in many formats with a simple, consistent interface";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|