From 2987602c97b696e4c758d08024c5757c2cb916ab Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Sun, 16 Jul 2023 19:24:27 -0400 Subject: [PATCH] python310Packages.ome-zarr: 0.6.1 -> 0.8.0 --- .../python-modules/ome-zarr/default.nix | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/ome-zarr/default.nix b/pkgs/development/python-modules/ome-zarr/default.nix index d874935cf544..130b45d631e6 100644 --- a/pkgs/development/python-modules/ome-zarr/default.nix +++ b/pkgs/development/python-modules/ome-zarr/default.nix @@ -6,47 +6,38 @@ , pytestCheckHook , aiohttp , dask +, distributed , fsspec , numpy , requests , scikit-image -, s3fs , toolz , zarr }: buildPythonPackage rec { pname = "ome-zarr"; - version = "0.6.1"; + version = "0.8.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "ome"; repo = "ome-zarr-py"; rev = "refs/tags/v${version}"; - hash = "sha256-dpweOuqruh7mAqmSaNbehLCr8OCLe1IZNWV4bpHpTl0="; + hash = "sha256-DMBTrDyUmNsrjOsFKrqukJNZ1f/mAjz4aunNUcwVMKg="; }; - patches = [ - # remove after next release: - (fetchpatch { - name = "fix-writer-bug"; - url = "https://github.com/ome/ome-zarr-py/commit/c1302e05998dfe2faf94b0f958c92888681f5ffa.patch"; - hash = "sha256-1WANObABUXkjqeGdnmg0qJ48RcZcuAwgitZyMwiRYUw="; - }) - ]; - propagatedBuildInputs = [ numpy dask + distributed zarr fsspec aiohttp requests - s3fs scikit-image toolz - ]; + ] ++ fsspec.passthru.optional-dependencies.s3; nativeCheckInputs = [ pytestCheckHook