Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / zarr / default.nix
blob3d21bbb3fe39d5cc49b8e8dac5aa9e65551ad111
1 { lib
2 , buildPythonPackage
3 , isPy27
4 , fetchPypi
5 , setuptools_scm
6 , asciitree
7 , numpy
8 , fasteners
9 , numcodecs
10 , pytest
13 buildPythonPackage rec {
14   pname = "zarr";
15   version = "2.6.1";
16   disabled = isPy27;
18   src = fetchPypi {
19     inherit pname version;
20     sha256 = "fa7eac1e4ff47ff82d09c42bb4679e18e8a05a73ee81ce59cee6a441a210b2fd";
21   };
23   nativeBuildInputs = [
24     setuptools_scm
25   ];
27   propagatedBuildInputs = [
28     asciitree
29     numpy
30     fasteners
31     numcodecs
32   ];
34   checkInputs = [
35     pytest
36   ];
38   checkPhase = ''
39     pytest
40   '';
42   meta = with lib; {
43     description = "An implementation of chunked, compressed, N-dimensional arrays for Python";
44     homepage = "https://github.com/zarr-developers/zarr";
45     license = licenses.mit;
46     maintainers = [ maintainers.costrouc ];
47   };