2019-07-18 14:37:12 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2020-08-29 19:20:56 +01:00
|
|
|
, isPy27
|
2019-07-18 14:37:12 +01:00
|
|
|
, fetchPypi
|
2021-06-03 11:09:11 +01:00
|
|
|
, setuptools-scm
|
2019-07-18 14:37:12 +01:00
|
|
|
, asciitree
|
|
|
|
, numpy
|
|
|
|
, fasteners
|
|
|
|
, numcodecs
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zarr";
|
2022-03-31 00:05:20 +01:00
|
|
|
version = "2.11.1";
|
2020-08-29 19:20:56 +01:00
|
|
|
disabled = isPy27;
|
2019-07-18 14:37:12 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-31 00:05:20 +01:00
|
|
|
sha256 = "sha256-EbYo9C3sNuAUeHnovUcVJLWbI4CUubIePDW+eDmcEV4=";
|
2019-07-18 14:37:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-06-03 11:09:11 +01:00
|
|
|
setuptools-scm
|
2019-07-18 14:37:12 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
asciitree
|
|
|
|
numpy
|
|
|
|
fasteners
|
|
|
|
numcodecs
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An implementation of chunked, compressed, N-dimensional arrays for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/zarr-developers/zarr";
|
2019-07-18 14:37:12 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|