about summary refs log tree commit diff
path: root/pkgs/development/python-modules/zarr
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2019-07-18 09:37:12 -0400
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-07-22 14:07:32 +0200
commit62cb4f72282b228a9072452448b0574170bebc06 (patch)
tree700570b09e9313ab8a834ddf81b490caed88dc6f /pkgs/development/python-modules/zarr
parentd383eade73c068ee0a2369d5e6cb73455caf65b6 (diff)
pythonPackages.zarr: init at 2.3.2
Diffstat (limited to 'pkgs/development/python-modules/zarr')
-rw-r--r--pkgs/development/python-modules/zarr/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/zarr/default.nix b/pkgs/development/python-modules/zarr/default.nix
new file mode 100644
index 0000000000000..5570688e98b76
--- /dev/null
+++ b/pkgs/development/python-modules/zarr/default.nix
@@ -0,0 +1,46 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, setuptools_scm
+, asciitree
+, numpy
+, fasteners
+, numcodecs
+, pytest
+}:
+
+buildPythonPackage rec {
+  pname = "zarr";
+  version = "2.3.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "c62d0158fb287151c978904935a177b3d2d318dea3057cfbeac8541915dfa105";
+  };
+
+  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;
+    license = licenses.mit;
+    maintainers = [ maintainers.costrouc ];
+  };
+}