1{ lib
2, buildPythonPackage
3, fetchPypi
4, slicerator
5, scikitimage
6, six
7, numpy
8, tifffile
9, nose
10}:
11
12buildPythonPackage rec {
13 version = "0.5";
14 pname = "PIMS";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "a02cdcbb153e2792042fb0bae7df4f30878bbba1f2d176114a87ee0dc18715a0";
19 };
20
21 checkInputs = [ nose ];
22 propagatedBuildInputs = [ slicerator six numpy tifffile scikitimage ];
23
24 # not everything packaged with pypi release
25 doCheck = false;
26 pythonImportsCheck = [ "pims" ];
27
28 meta = with lib; {
29 homepage = "https://github.com/soft-matter/pims";
30 description = "Python Image Sequence: Load video and sequential images in many formats with a simple, consistent interface";
31 license = licenses.bsdOriginal;
32 maintainers = [ maintainers.costrouc ];
33 };
34}