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

49 lines
801 B
Nix
Raw Normal View History

2019-07-18 14:37:12 +01:00
{ lib
, buildPythonPackage
, isPy27
2019-07-18 14:37:12 +01:00
, fetchPypi
, setuptools_scm
, asciitree
, numpy
, fasteners
, numcodecs
, pytest
}:
buildPythonPackage rec {
pname = "zarr";
2020-10-15 21:06:05 +01:00
version = "2.5.0";
disabled = isPy27;
2019-07-18 14:37:12 +01:00
src = fetchPypi {
inherit pname version;
2020-10-15 21:06:05 +01:00
sha256 = "d54f060739208392494c3dbcbfdf41c8df9fa23d9a32b91aea0549b4c5e2b77f";
2019-07-18 14:37:12 +01:00
};
nativeBuildInputs = [
setuptools_scm
];
propagatedBuildInputs = [
asciitree
numpy
fasteners
numcodecs
];
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "An implementation of chunked, compressed, N-dimensional arrays for Python";
homepage = "https://github.com/zarr-developers/zarr";
2019-07-18 14:37:12 +01:00
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}