Skip to content

Commit 3b988f7

Browse files
committed
python312Packages.ome-zarr: fix
1 parent 815a35a commit 3b988f7

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

pkgs/development/python-modules/ome-zarr/default.nix

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
11
{
22
lib,
33
buildPythonPackage,
4-
pythonOlder,
54
fetchFromGitHub,
6-
pytestCheckHook,
5+
6+
# build-system
7+
setuptools,
8+
setuptools-scm,
9+
10+
# dependencies
711
aiohttp,
812
dask,
913
distributed,
1014
fsspec,
1115
numpy,
1216
requests,
1317
scikit-image,
14-
setuptools,
1518
toolz,
1619
zarr,
20+
21+
# tests
22+
pytestCheckHook,
1723
}:
1824

1925
buildPythonPackage rec {
2026
pname = "ome-zarr";
2127
version = "0.10.3";
2228
pyproject = true;
2329

24-
disabled = pythonOlder "3.9";
25-
2630
src = fetchFromGitHub {
2731
owner = "ome";
2832
repo = "ome-zarr-py";
@@ -32,21 +36,24 @@ buildPythonPackage rec {
3236

3337
build-system = [
3438
setuptools
39+
setuptools-scm
3540
];
3641

3742
dependencies = [
38-
numpy
43+
aiohttp
3944
dask
4045
distributed
41-
zarr
4246
fsspec
43-
aiohttp
47+
numpy
4448
requests
4549
scikit-image
4650
toolz
51+
zarr
4752
] ++ fsspec.optional-dependencies.s3;
4853

49-
nativeCheckInputs = [ pytestCheckHook ];
54+
nativeCheckInputs = [
55+
pytestCheckHook
56+
];
5057

5158
disabledTests = [
5259
# attempts to access network
@@ -90,7 +97,7 @@ buildPythonPackage rec {
9097
meta = {
9198
description = "Implementation of next-generation file format (NGFF) specifications for storing bioimaging data in the cloud";
9299
homepage = "https://pypi.org/project/ome-zarr";
93-
changelog = "https://github.com/ome/ome-zarr-py/blob/${src.tag}/CHANGELOG.md";
100+
changelog = "https://github.com/ome/ome-zarr-py/blob/v${version}/CHANGELOG.md";
94101
license = lib.licenses.bsd2;
95102
maintainers = [ lib.maintainers.bcdarwin ];
96103
mainProgram = "ome_zarr";

0 commit comments

Comments
 (0)