mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
Merge pull request #171228 from r-ryantm/auto-update/python3.10-PIMS
python310Packages.pims: 0.5 -> 0.6.0
This commit is contained in:
commit
ea253177f0
1 changed files with 42 additions and 19 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue