pythonPackages.zarr: init at 2.3.2
commit62cb4f72282b228a9072452448b0574170bebc06
authorChris Ostrouchov <chris.ostrouchov@gmail.com>
dateThu 18 Jul 2019, 09:37 (7 years ago)
parentd383ead
pkgs/development/python-modules/zarr/default.nixnew file+46
@@ -0,0 +1,46 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, setuptools_scm
5+, asciitree
6+, numpy
7+, fasteners
8+, numcodecs
9+, pytest
10+}:
11+
12+buildPythonPackage rec {
13+ pname = "zarr";
14+ version = "2.3.2";
15+
16+ src = fetchPypi {
17+ inherit pname version;
18+ sha256 = "c62d0158fb287151c978904935a177b3d2d318dea3057cfbeac8541915dfa105";
19+ };
20+
21+ nativeBuildInputs = [
22+ setuptools_scm
23+ ];
24+
25+ propagatedBuildInputs = [
26+ asciitree
27+ numpy
28+ fasteners
29+ numcodecs
30+ ];
31+
32+ checkInputs = [
33+ pytest
34+ ];
35+
36+ checkPhase = ''
37+ pytest
38+ '';
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+ license = licenses.mit;
44+ maintainers = [ maintainers.costrouc ];
45+ };
46+}
pkgs/top-level/python-packages.nix+2
@@ -3901,6 +3901,8 @@ in {
39013901
39023902 zake = callPackage ../development/python-modules/zake { };
39033903
3904+ zarr = callPackage ../development/python-modules/zarr { };
3905+
39043906 kazoo = callPackage ../development/python-modules/kazoo { };
39053907
39063908 FormEncode = callPackage ../development/python-modules/FormEncode { };