Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 46 lines 769 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools_scm 5, asciitree 6, numpy 7, fasteners 8, numcodecs 9, pytest 10}: 11 12buildPythonPackage 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}