3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #171228 from r-ryantm/auto-update/python3.10-PIMS

python310Packages.pims: 0.5 -> 0.6.0
This commit is contained in:
Fabian Affolter 2022-05-03 00:15:21 +02:00 committed by GitHub
commit ea253177f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,34 +1,57 @@
{ lib
, buildPythonPackage
, fetchPypi
, slicerator
, scikitimage
, six
, fetchFromGitHub
, imageio
, numpy
, tifffile
, nose
, pytestCheckHook
, pythonOlder
, scikitimage
, slicerator
}:
buildPythonPackage rec {
version = "0.5";
pname = "PIMS";
pname = "pims";
version = "0.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "a02cdcbb153e2792042fb0bae7df4f30878bbba1f2d176114a87ee0dc18715a0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "soft-matter";
repo = pname;
rev = "v${version}";
hash = "sha256-F4UWbD9fOfvaZwYcY1l7XOzVKZyqqTGTqVJoNPo1Ozg=";
};
checkInputs = [ nose ];
propagatedBuildInputs = [ slicerator six numpy tifffile scikitimage ];
propagatedBuildInputs = [
slicerator
imageio
numpy
];
# not everything packaged with pypi release
doCheck = false;
pythonImportsCheck = [ "pims" ];
checkInputs = [
pytestCheckHook
scikitimage
];
pythonImportsCheck = [
"pims"
];
pytestFlagsArray = [
"-W"
"ignore::DeprecationWarning"
];
disabledTests = [
# NotImplementedError: Do not know how to deal with infinite readers
"TestVideo_ImageIO"
];
meta = with lib; {
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 ];
homepage = "https://github.com/soft-matter/pims";
license = licenses.bsd3;
maintainers = with maintainers; [ costrouc ];
};
}