1{ lib
2, asciitree
3, buildPythonPackage
4, fasteners
5, fetchPypi
6, numcodecs
7, numpy
8, pytestCheckHook
9, pythonOlder
10, setuptools-scm
11}:
12
13buildPythonPackage rec {
14 pname = "zarr";
15 version = "2.16.1";
16 format = "pyproject";
17
18 disabled = pythonOlder "3.8";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-QnbPS0plNDEELNU/8igrxNKSpoQkEeiFKZZFBPsHMoY=";
23 };
24
25 nativeBuildInputs = [
26 setuptools-scm
27 ];
28
29 propagatedBuildInputs = [
30 asciitree
31 numpy
32 fasteners
33 numcodecs
34 ];
35
36 nativeCheckInputs = [
37 pytestCheckHook
38 ];
39
40 pythonImportsCheck = [
41 "zarr"
42 ];
43
44 meta = with lib; {
45 description = "An implementation of chunked, compressed, N-dimensional arrays for Python";
46 homepage = "https://github.com/zarr-developers/zarr";
47 changelog = "https://github.com/zarr-developers/zarr-python/releases/tag/v${version}";
48 license = licenses.mit;
49 maintainers = with maintainers; [ ];
50 };
51}