nixpkgs/pkgs/development/python-modules/pims/default.nix

35 lines
791 B
Nix
Raw Normal View History

{ 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
meta = with lib; {
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 ];
};
}