evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pims / default.nix
blobc016d45ffae58d1cba4f26dcec68357145c40648
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   imageio,
6   numpy,
7   pytestCheckHook,
8   pythonOlder,
9   scikit-image,
10   slicerator,
13 buildPythonPackage rec {
14   pname = "pims";
15   version = "0.7";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "soft-matter";
22     repo = pname;
23     rev = "refs/tags/v${version}";
24     hash = "sha256-3SBZk11w6eTZFmETMRJaYncxY38CYne1KzoF5oRgzuY=";
25   };
27   propagatedBuildInputs = [
28     slicerator
29     imageio
30     numpy
31   ];
33   nativeCheckInputs = [
34     pytestCheckHook
35     scikit-image
36   ];
38   pythonImportsCheck = [ "pims" ];
40   pytestFlagsArray = [
41     "-W"
42     "ignore::Warning"
43   ];
45   disabledTests = [
46     # NotImplementedError: Do not know how to deal with infinite readers
47     "TestVideo_ImageIO"
48   ];
50   disabledTestPaths = [
51     # AssertionError: Tuples differ: (377, 505, 4) != (384, 512, 4)
52     "pims/tests/test_display.py"
53   ];
55   meta = with lib; {
56     description = "Module to load video and sequential images in various formats";
57     homepage = "https://github.com/soft-matter/pims";
58     changelog = "https://github.com/soft-matter/pims/releases/tag/v${version}";
59     license = licenses.bsd3;
60     maintainers = [ ];
61   };