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