Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ome-zarr / default.nix
blob0412a0f8071896ca7ba509b77084acdafd574c92
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , pytestCheckHook
6 , aiohttp
7 , dask
8 , distributed
9 , fsspec
10 , numpy
11 , requests
12 , scikit-image
13 , toolz
14 , zarr
17 buildPythonPackage rec {
18   pname = "ome-zarr";
19   version = "0.8.3";
20   format = "setuptools";
21   disabled = pythonOlder "3.6";
23   src = fetchFromGitHub {
24     owner = "ome";
25     repo = "ome-zarr-py";
26     rev = "refs/tags/v${version}";
27     hash = "sha256-JuNXVse/n/lFbNaLwMcir8NBHiRxcbYvtbxePwI6YoY=";
28   };
30   propagatedBuildInputs = [
31     numpy
32     dask
33     distributed
34     zarr
35     fsspec
36     aiohttp
37     requests
38     scikit-image
39     toolz
40   ] ++ fsspec.passthru.optional-dependencies.s3;
42   nativeCheckInputs = [
43     pytestCheckHook
44   ];
46   disabledTests = [
47     # attempts to access network
48     "test_s3_info"
49   ];
51   pythonImportsCheck = [
52     "ome_zarr"
53     "ome_zarr.cli"
54     "ome_zarr.csv"
55     "ome_zarr.data"
56     "ome_zarr.format"
57     "ome_zarr.io"
58     "ome_zarr.reader"
59     "ome_zarr.writer"
60     "ome_zarr.scale"
61     "ome_zarr.utils"
62   ];
64   meta = with lib; {
65     description = "Implementation of next-generation file format (NGFF) specifications for storing bioimaging data in the cloud.";
66     homepage = "https://pypi.org/project/ome-zarr";
67     changelog = "https://github.com/ome/ome-zarr-py/blob/v${version}/CHANGELOG.md";
68     license = licenses.bsd2;
69     maintainers = [ maintainers.bcdarwin ];
70     mainProgram = "ome_zarr";
71   };