depot/third_party/nixpkgs/pkgs/development/python-modules/zarr/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

52 lines
999 B
Nix

{ lib
, asciitree
, buildPythonPackage
, fasteners
, fetchPypi
, numcodecs
, msgpack
, numpy
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "zarr";
version = "2.17.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-Vks6oHISJUb+aaD6IXNvRmsg+tQXVDNLYmGfCIzkYmE=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
asciitree
numpy
fasteners
numcodecs
] ++ numcodecs.optional-dependencies.msgpack;
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"zarr"
];
meta = with lib; {
description = "An implementation of chunked, compressed, N-dimensional arrays for Python";
homepage = "https://github.com/zarr-developers/zarr";
changelog = "https://github.com/zarr-developers/zarr-python/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}